Note cache_format_version in framework defaults
Since 7.1 was made the [default][1] for applications using `load_defaults 7.1`, this adds a note of how to safely opt into the configuration to new_framework_defaults. The comment is the same as we used when the [same change][2] was made for 7.0 [1]: c94760cc0bb69a1fb52c23085c8f1a70f2de9adc [2]: 270a2ddd6b70a1d188650afe48dddd025c4e605a Co-authored-by: Alex Ghiculescu <alex@tanda.co>
This commit is contained in:
parent
2bfb6565a4
commit
8739453f31
@ -166,3 +166,14 @@
|
||||
# This matches the behaviour of all other callbacks.
|
||||
# In previous versions of Rails, they ran in the inverse order.
|
||||
# Rails.application.config.active_record.run_after_transaction_callbacks_in_order_defined = true
|
||||
|
||||
# ** Please read carefully, this must be configured in config/application.rb **
|
||||
# Change the format of the cache entry.
|
||||
# Changing this default means that all new cache entries added to the cache
|
||||
# will have a different format that is not supported by Rails 7.0
|
||||
# applications.
|
||||
# Only change this value after your application is fully deployed to Rails 7.1
|
||||
# and you have no plans to rollback.
|
||||
# When you're ready to change format, add this to `config/application.rb` (NOT
|
||||
# this file):
|
||||
# config.active_support.cache_format_version = 7.1
|
||||
|
Loading…
Reference in New Issue
Block a user