1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

use singular form for application

This commit is contained in:
Michael Hagar 2020-07-05 06:15:45 -05:00
parent 31148cd6be
commit 7799bbcdd4

View file

@ -884,8 +884,8 @@ end
This can be turned off per-association with `optional: true`. This can be turned off per-association with `optional: true`.
This default will be automatically configured in new applications. If existing application This default will be automatically configured in new applications. If an existing application
want to add this feature it will need to be turned on in an initializer. wants to add this feature it will need to be turned on in an initializer:
config.active_record.belongs_to_required_by_default = true config.active_record.belongs_to_required_by_default = true