I'm trying to find out the format of the name of the input filed for nested attributes. Let's say that I have a edit action with input fields:
<input type="text" name="...">
I found out that the syntax for the name of the parameters is:
After a lot of tried I even found out that nested hash parameters can be passed as:
My problem is that I have has_many nested attributes and I didn't managed to find out what syntax rails expecting for array of nested records. Also it'll be nice to know how can I pass something to say that I want to destroy a nested record.
I'm using Rails 5.1 BTW