🧑💻 accepts_nested_attributes_for and attr_accessible
Posted on March 19, 2010
In your model, if you have
And you limit the accessible attributes with something like
make sure to also include the virtual attribute for the nested model to that list, like so:
Otherwise, your model won't accept the nested attributes.