Skip to content

Commit

Permalink
Upgrade Rails defaults to 7.0
Browse files Browse the repository at this point in the history
This fixes a deprecation warning and follows the linked guidance:

```
DEPRECATION WARNING: Support for `config.active_support.cache_format_version = 6.1` has been deprecated and will be removed in Rails 7.2.

Check the Rails upgrade guide at https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#new-activesupport-cache-serialization-format
for more information on how to upgrade.
```
  • Loading branch information
yndajas committed Jun 26, 2024
1 parent d99b89d commit d486b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Application < Rails::Application
end

# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.0
config.load_defaults 7.0

# Configuration for the application, engines, and railties goes here.
#
Expand Down

0 comments on commit d486b16

Please sign in to comment.