Skip to content

Commit

Permalink
Rails 7.0: remove initializer and commit to 7.0 defaults
Browse files Browse the repository at this point in the history
All previous commits build and we have rationale for each change;
switch over to 7.0 fully.
  • Loading branch information
rgarner committed Jan 9, 2025
1 parent 73acae7 commit 77b8f37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 101 deletions.
5 changes: 1 addition & 4 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ class Application < Rails::Application
end

# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.1
# TODO: remove the following block of lines when the above line is set to `config.load_defaults 7.0`
config.active_support.cache_format_version = 7.0
config.active_support.disable_to_s_conversion = true # See https://guides.rubyonrails.org/configuring.html#config-active-support-disable-to-s-conversion for more information.
config.load_defaults 7.0

# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
Expand Down
97 changes: 0 additions & 97 deletions config/initializers/new_framework_defaults_7_0.rb

This file was deleted.

0 comments on commit 77b8f37

Please sign in to comment.