Does accepts_nested_attributes_for work with belongs_to?

Nested attributes appear to work fine for a belongs_to association as of Rails 4. It might have been changed in an earlier version of Rails, but I tested in 4.0.4 and it definitely works as expected.

Leave a Comment