diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-04-20 19:58:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-20 19:58:26 -0400 |
commit | 06580a4f97b2ac12b5a85defde19862537995104 (patch) | |
tree | 1263944ec4a6377dc65cccc1775c8cd207065fea /guides | |
parent | c326345d00925d8901a2bf16972b0d4324d1c5f3 (diff) | |
parent | dcd6ceb0c90866272b3e75f9d34ef9f13cfb33c6 (diff) | |
download | rails-06580a4f97b2ac12b5a85defde19862537995104.tar.gz rails-06580a4f97b2ac12b5a85defde19862537995104.tar.bz2 rails-06580a4f97b2ac12b5a85defde19862537995104.zip |
Merge pull request #28432 from marksiemers/master
Update 'Building Complex Forms' with `inverse_of`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/form_helpers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md index ba6e158ba1..f46f1648b3 100644 --- a/guides/source/form_helpers.md +++ b/guides/source/form_helpers.md @@ -877,7 +877,7 @@ Active Record provides model level support via the `accepts_nested_attributes_fo ```ruby class Person < ApplicationRecord - has_many :addresses + has_many :addresses, inverse_of: :person accepts_nested_attributes_for :addresses end |