What I\'m trying to do is to dynamically add form fragments inside a nested form in rails 3.1.1. I have this javascript inside CDATAgenerated from rails helper method which uses escape_javascript meth
In my form I need my admin scope like this <%= form_for [:admin, @event], :html => {:multipart => true} do |f| %>
I am using the nested_form gem but ran in to 开发者_运维知识库one use case that is giving me some trouble. I have one particular nested form where the partial for existing nested objects is different
I am using the rails 3 gem nested_forms and would like to change how the 开发者_JAVA百科default blueprint for insertion is generated. I can not figure out how/where this code would comes from, and how
I am getting this error ActiveRecord::unknown attribute: store from dealcontroller,I am pretty sure has something to do with this line
I\'m using the gem nested_form in a Rails 3.1 application. The problem is that when I click on the link generated by \"link_to_add\", it displays the partial twice, whereas it should display it just o
I have two models, \'product\' with \'belongs_to\' and \'category\' with \'has_many\'. Product has a foreign key \'category_id\'. And in the form product/_form I\'m trying to include category field wi
I have a Carrierwave image upload in a nested simple_form which works (sort of) unless the user does not specify a file, in which case a blank Picture object is created unless there was a previously e
I\'ve got a problem with designing my User model and making a decent form for it. I just want to ensure myself that I\'m doing it wrong :)
I have a nested form that does not update the database. Models: User: has_many :designs, :dependent => :restrict