diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index aa5ec5eae0f..2d4f30f86c7 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -36,7 +36,7 @@ config.active_record.belongs_to_required_validates_foreign_key = false ``` - and will be disabled by default with `load_defaults 7.1`. + and will be disabled by default with `config.load_defaults 7.1`. *fatkodima* diff --git a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_1.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_1.rb.tt index e04ff450f3f..b06158c09b0 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_1.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_1.rb.tt @@ -101,7 +101,7 @@ # Set the maximum size for Rails log files. # -# `load_defaults 7.1` does not set this value for environments other than +# `config.load_defaults 7.1` does not set this value for environments other than # development and test. # # if Rails.env.development? || Rails.env.test?