Displaying 1 result from an estimated 1 matches for "allow_remov".
Did you mean:
allow_remove
2009 Aug 01
0
Nested forms and deleting/removing has_many associations
...elete will delete the picture not remove the associatioon
I can do it in the controller, but it should be done in the same way as
delete is performed using attribute _delete
Anyone knowing if a _remove attribute is implemented or know any other
way to solve the problem (e.g. that could be a command
allow_remove=true)
Another problem is that it seems as nested forms do not validate the
attributes of the associated object in this case picture.
I have solved the problem by a fix in the controller, but it should
really be a part the nested form
Anyone that has a solution to that problem?
Any comment would...