0
0
Fork 0

Opt in to remaining Rails 7.1 defaults (#30332)

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Matt Jankowski 2024-06-10 02:32:20 -04:00 committed by GitHub
parent 827e36ff9e
commit 0cf91213c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 216 deletions

View file

@ -60,9 +60,10 @@ Bundler.require(:pam_authentication) if ENV['PAM_ENABLED'] == 'true'
module Mastodon
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0
config.load_defaults 7.1
config.active_record.marshalling_format_version = 7.1
# Explicitly set the cache format version to align with Rails version
config.active_support.cache_format_version = 7.1
# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.