Hi,

Thanks for your answer!

Sorry, I mixed some things up in my question above.

I'd like the associated objects to be chosen from a select box using
collection_select. The request data submitted to update the associated
objects is:

object=>{ ... "associated_object_attributes"=>{"0"=>{"_delete"=>"0",
"id"=>"1"}, "1"=>{"_delete"=>"0", "id"=>"3"}, "2"=>{"id"=>"3"}} }

So only the IDs are submitted. I seemingly have to handle this in the
controller by myself because the other data of the associated objects
is missing.

If I'm wrong I'd be very thankful if someone corrected me.

Best regards
--~--~---------~--~----~------------~-------~--~----~
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