diff options
-rw-r--r-- | guides/source/active_record_validations.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 25a0f86ae3..ab7487293d 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -513,7 +513,8 @@ class LineItem < ActiveRecord::Base end ``` -You should also be sure to have a proper `:inverse_of` as well: +In order to validate associated records whose presence is required, you must +specify the `:inverse_of` the association: ```ruby class Order < ActiveRecord::Base |