Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #28432 from marksiemers/master
Browse files Browse the repository at this point in the history
Update 'Building Complex Forms' with `inverse_of`
  • Loading branch information
rafaelfranca committed Apr 20, 2017
2 parents c326345 + dcd6ceb commit 06580a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/form_helpers.md
Expand Up @@ -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

Expand Down

0 comments on commit 06580a4

Please sign in to comment.