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"}]


That's interesting. I thought fields_for would have taken care of that
automatically.

I'll try manually building the fields and see what happens.

-- 
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.

Reply via email to