search for: toomanyrecord

Displaying 1 result from an estimated 1 matches for "toomanyrecord".

Did you mean: toomanyrecords
2011 Jul 16
0
nested_form gem don't work for accepts_nested_attributes_for :limit
...e" %> <% end %> <%= f.link_to_add "Add a Image", :images %> <%= f.submit %> <% end %> The problem is when I add more images that the limit. Although I delete it before submit the form, the post don''t validate: ActiveRecord::NestedAttributes::TooManyRecords. For example, if I may have 2 limit image and I do: - Add Image - Add Image - Add Image - Delete Image - Delete Image - Browse Image File - SUBMIT FORM Well, I would get the error. It''s a bug? Any help? Thanks -- You received this message because you are subscribed to the Google Groups...