On Jul 26, 2:43 pm, Loic Regnault <li...@ruby-forum.com> wrote:
>
> 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.
>
This is a really weird way of doing things, so I'm not sure this will
mesh with stuff nested attributes.
If i were you (and had to do it this way) I'd probably just submit the
id of the chosen crc separately and have a line somewhere that updates
the user_id for that crc. Seems rather back to front though.

Fred

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to