Frederick Cheung wrote: > On Jul 26, 2:18�pm, Loic Regnault <[email protected]> wrote: >> � � � <% end %> >> >> and on "_crcatt.html.erb" I got: >> � � � � <%= �f.collection_select( :user_id, @crcs, :id, :name) %> >> >> how can I edit the choosen crc ? I'am a 'little' bit lost... I only got >> 4 month of rails experience and 1 years of OO language. Sorry for >> telling you my life ;). >> > What is the choosen crc ? According to what you posted above, users > have multiple crcs. > > > Fred
I mean the chosen crc on my collection. Exactly users have multiple crcs, this is why I used nested attribute with child_link to add crcs to users. (I hope I'm understandable ..) In fact crcs are already created and had a 'NULL' field on DB (user_id) that I want to edit on submitting with my collection. Thanks again Fred for your help. -- Posted via http://www.ruby-forum.com/. -- 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.

