|
105 | 105 | # servers, first deploy without changing the serializer, then set the serializer |
106 | 106 | # in a subsequent deploy. |
107 | 107 | #++ |
108 | | -# Rails.application.config.active_support.message_serializer = :json_allow_marshal |
| 108 | +Rails.application.config.active_support.message_serializer = :json_allow_marshal |
109 | 109 |
|
110 | 110 | ### |
111 | 111 | # Enable a performance optimization that serializes message data and metadata |
|
118 | 118 | # leave this optimization off on the first deploy, then enable it on a |
119 | 119 | # subsequent deploy. |
120 | 120 | #++ |
121 | | -# Rails.application.config.active_support.use_message_serializer_for_metadata = true |
| 121 | +Rails.application.config.active_support.use_message_serializer_for_metadata = true |
122 | 122 |
|
123 | 123 | ### |
124 | 124 | # Set the maximum size for Rails log files. |
|
174 | 174 | # leave this optimization off on the first deploy, then enable it on a |
175 | 175 | # subsequent deploy. |
176 | 176 | #++ |
177 | | -# Rails.application.config.active_record.marshalling_format_version = 7.1 |
| 177 | +Rails.application.config.active_record.marshalling_format_version = 7.1 |
178 | 178 |
|
179 | 179 | ### |
180 | 180 | # Run `after_commit` and `after_*_commit` callbacks in the order they are defined in a model. |
|
193 | 193 | #++ |
194 | 194 | Rails.application.config.active_record.generate_secure_token_on = :initialize |
195 | 195 |
|
196 | | -### |
197 | | -# ** Please read carefully, this must be configured in config/application.rb ** |
198 | | -# |
199 | | -# Change the format of the cache entry. |
200 | | -# |
201 | | -# Changing this default means that all new cache entries added to the cache |
202 | | -# will have a different format that is not supported by Rails 7.0 |
203 | | -# applications. |
204 | | -# |
205 | | -# Only change this value after your application is fully deployed to Rails 7.1 |
206 | | -# and you have no plans to rollback. |
207 | | -# When you're ready to change format, add this to `config/application.rb` (NOT |
208 | | -# this file): |
209 | | -# config.active_support.cache_format_version = 7.1 |
210 | | - |
211 | 196 | ### |
212 | 197 | # Configure Action View to use HTML5 standards-compliant sanitizers when they are supported on your |
213 | 198 | # platform. |
|
0 commit comments