From 8c56373b43426c37ce2c09e4ce969304a73b0875 Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Mon, 2 Oct 2023 14:05:34 +0100 Subject: [PATCH 1/2] Add new Rails 7.0 framework defaults file None of these are enabled yet but we will be going through them in #5851 --- .../new_framework_defaults_7_0.rb | 143 ++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 config/initializers/new_framework_defaults_7_0.rb diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb new file mode 100644 index 0000000000..b13ef5ed16 --- /dev/null +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -0,0 +1,143 @@ +# 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 `