From 0d0f3a48ff1845a4fd9526b8da0c2826f5f1743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 15 Apr 2024 16:33:58 +0200 Subject: [PATCH] Use Rails 7.1 marshalling format Enabling this option is only dangerous when deploying applications using multiple servers. Since this isn't our case, we can enable it. --- config/initializers/new_framework_defaults_7_1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_1.rb b/config/initializers/new_framework_defaults_7_1.rb index 9016e8014..e95cd1e7b 100644 --- a/config/initializers/new_framework_defaults_7_1.rb +++ b/config/initializers/new_framework_defaults_7_1.rb @@ -197,7 +197,7 @@ Rails.application.config.active_record.before_committed_on_all_records = true # leave this optimization off on the first deploy, then enable it on a # subsequent deploy. #++ -# Rails.application.config.active_record.marshalling_format_version = 7.1 +Rails.application.config.active_record.marshalling_format_version = 7.1 ### # Run `after_commit` and `after_*_commit` callbacks in the order they are defined in a model.