Skip to content

Commit d1eebcb

Browse files
authored
Merge pull request rails#46585 from sampatbadhe/patch-1
Update load_defaults 7.1 to config.load_defaults 7.1 [ci-skip]
2 parents 2b2aea4 + b161c7c commit d1eebcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activerecord/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
config.active_record.belongs_to_required_validates_foreign_key = false
3737
```
3838

39-
and will be disabled by default with `load_defaults 7.1`.
39+
and will be disabled by default with `config.load_defaults 7.1`.
4040

4141
*fatkodima*
4242

railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_1.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
# Set the maximum size for Rails log files.
103103
#
104-
# `load_defaults 7.1` does not set this value for environments other than
104+
# `config.load_defaults 7.1` does not set this value for environments other than
105105
# development and test.
106106
#
107107
# if Rails.env.development? || Rails.env.test?

0 commit comments

Comments
 (0)