Cocoon v1.0.20 Release Notes
-
👌 improved handing of the
:partial
: remove the extra options-hash, and just make it use the single hash, so now we can just write= link_to_add_association 'add something', f, :tasks, :partial => 'shared/task_fields' = link_to_add_association 'add something', f, :tasks, :class => 'your-special-class', :partial => 'shared/task_fields'