Using add_form with a many_to_many relationship
Trying to use
I using
And the form:
If there are existing members then they will render fine and there are hidden inputs as expected, but any member I added via
I don't want to create Organizations in the nested form only associate them via the members
add_form on a many_to_many relationship. Here is my action and relationship.I using
add_form to add an Organization as a member after search for one.And the form:
If there are existing members then they will render fine and there are hidden inputs as expected, but any member I added via
add_form does not have the id added as a hidden field. It is in the params.I don't want to create Organizations in the nested form only associate them via the members
many_to_many relationship.