[RUBY] Could n’t find the element to insert the template. Make sure your `data-association-insertion-*` on `link_to_add_association` is correct.

I got a title error when trying to add multiple fields using cocoon in rails

.nested-items

The problem was that the js side didn't understand where to put the form without adding

Reference article

None

Recommended Posts

Could n’t find the element to insert the template. Make sure your `data-association-insertion-*` on `link_to_add_association` is correct.