Skip to content

Commit 5287cfa

Browse files
authored
Merge pull request rails#53691 from sato11/format-new-framework-defaults-x-y
Correct misformatted reference to `config/initializers/new_framework_defaults_*.rb` [ci skip]
2 parents 63d435e + e4c2d07 commit 5287cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/upgrading_ruby_on_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Don't forget to review the difference, to see if there were any unexpected chang
7575

7676
The new Rails version might have different configuration defaults than the previous version. However, after following the steps described above, your application would still run with configuration defaults from the *previous* Rails version. That's because the value for `config.load_defaults` in `config/application.rb` has not been changed yet.
7777

78-
To allow you to upgrade to new defaults one by one, the update task has created a file `config/initializers/new_framework_defaults_X.Y.rb` (with the desired Rails version in the filename). You should enable the new configuration defaults by uncommenting them in the file; this can be done gradually over several deployments. Once your application is ready to run with new defaults, you can remove this file and flip the `config.load_defaults` value.
78+
To allow you to upgrade to new defaults one by one, the update task has created a file `config/initializers/new_framework_defaults_X_Y.rb` (with the desired Rails version in the filename). You should enable the new configuration defaults by uncommenting them in the file; this can be done gradually over several deployments. Once your application is ready to run with new defaults, you can remove this file and flip the `config.load_defaults` value.
7979

8080
Upgrading from Rails 8.0 to Rails 8.1
8181
-------------------------------------

0 commit comments

Comments
 (0)