On Fri, Feb 11, 2011 at 4:40 PM, Tim Uckun <[email protected]> wrote: > On Fri, Feb 11, 2011 at 4:38 PM, Jim Ruther Nill <[email protected]> wrote: >> I'm not sure but if you look at >> http://api.rubyonrails.org/classes/ActiveRecord/NestedAttributes/ClassMethods.html >> your params does not have the same format as the one stated in the link. It >> should be >> "contact_methods_attributes"=>[{"details"=>"test", "id"=>"1", >> "_destroy"=>"false"}] >
The problem turned out to be attr_accessible You have to put contact_methods_attributes in there and not contact_methods. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

