diff --git a/config/application.rb b/config/application.rb index 7204d0b6eb..408611976e 100644 --- a/config/application.rb +++ b/config/application.rb @@ -31,13 +31,11 @@ class Application < Rails::Application # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") - config.load_defaults 6.1 + config.load_defaults 7.0 config.autoloader = :zeitwerk # Enable new framework defaults configurations for later Rails versions # preventing deprecation warnings - config.active_record.legacy_connection_handling = false # 7.0 - config.active_support.use_rfc4122_namespaced_uuids = true # 7.0 config.active_storage.replace_on_assign_to_many = true # 7.1 # Disable new framework default has_many_inversing breaks some specs due to diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb deleted file mode 100644 index 1cd17e47f7..0000000000 --- a/config/initializers/new_framework_defaults_7_0.rb +++ /dev/null @@ -1,141 +0,0 @@ -# Be sure to restart your server when you modify this file. -# -# This file eases your Rails 7.0 framework defaults upgrade. -# -# Uncomment each configuration one by one to switch to the new default. -# Once your application is ready to run with all new defaults, you can remove -# this file and set the `config.load_defaults` to `7.0`. -# -# Read the Guide for Upgrading Ruby on Rails for more info on each option. -# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html - -# `button_to` view helper will render `