Cocoon v1.0.14 Release Notes
-
- When playing with
simple_form
andtwitter-bootstrap
, I noticed it is crucial that I call the correct nested-fields function. That is:fields_for
for standard forms,semantic_fields_for
in formtastic andsimple_fields_for
for simple_form. Secondly, this was not enough, I needed to be able to hand down options to that method. So in thelink_to_add_association
method you can now an extra option:render_options
and that hash will be handed to the association-builder.
This allows the nested fields to be built correctly with
simple_form
fortwitter-bootstrap
. - When playing with