Frederick Cheung wrote:
> On Jul 26, 2:43�pm, Loic Regnault <[email protected]> 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

Ok,I'm working on a cleanest way to do this. I already have waste a lot 
of time for this, thank for yours help I'm not going to waste my time 
any more.

Thanks a lot Fred.
-- 
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.

Reply via email to