ryanb / nested_form

Rails plugin to conveniently handle multiple models in a single form.
MIT License
1.79k stars 505 forks source link

Strong Parameters gotcha #283

Closed brycesenz closed 10 years ago

brycesenz commented 10 years ago

Just a heads up to anyone who might be facing the same issue - unless you explicitly whitelist the :_destroy attribute in your controller, the remove_association function won't actually work.

Since Strong Parameters seems to be the way forward in Rails 4, it might be worth mentioning in the README.