From 7799bbcdd403dd58cc96e030115cb22fe80af7b9 Mon Sep 17 00:00:00 2001 From: Michael Hagar Date: Sun, 5 Jul 2020 06:15:45 -0500 Subject: [PATCH] use singular form for application --- guides/source/upgrading_ruby_on_rails.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 0fc3c74517..6779879a74 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -884,8 +884,8 @@ end This can be turned off per-association with `optional: true`. -This default will be automatically configured in new applications. If existing application -want to add this feature it will need to be turned on in an initializer. +This default will be automatically configured in new applications. If an existing application +wants to add this feature it will need to be turned on in an initializer: config.active_record.belongs_to_required_by_default = true