Top "Cocoon-gem" questions

Cocoon makes creating dynamic nested forms using jQuery easy.

Rails 3, nested multi-level forms and has_many through

I'm trying to get it to work but it dosen't! I have class User < ActiveRecord::Base has_many :events, :…

ruby-on-rails nested-forms has-many-through formtastic cocoon-gem
Rails - Dynamically build deeply nested objects (Cocoon / nested_form)

I currently have a complex form with deep nesting, and I am using the Cocoon gem to dynamically add sections …

ruby-on-rails ruby-on-rails-3 activerecord cocoon-gem
link_to_remove_association is not removing?

How can we fix the nested_attribute: _result_fields.html.erb so that when a user clicks "Delete" that it …

jquery ruby-on-rails ruby cocoon-gem
Multi select file upload field with nested attributes in Rails

Currently I have a Note model which accepts nested attributes for an Attachments model, which uses Carrierwave. When adding a …

ruby-on-rails-4 file-upload carrierwave cocoon-gem