I am confused by "instead, then rails will allocate the ids." So do you mean it is improper to do this:
user.Description << d If it is, can you tell me the proper way to link the association? Thanks, Kahou Dave Aronson wrote in post #1034152: > On Mon, Nov 28, 2011 at 04:12, Colin Law <[email protected]> wrote: > >> On 27 November 2011 22:34, Dave Aronson >> <[email protected]> wrote: > >> instead, then rails will allocate the ids. > Since it was just for the purpose of a little irb experiment, I didn't > want to go to the bother of setting up a new app or jumping through > the hoops to set the other fields needed to make the record saveable. > >> Try again with letting rails manage the ids and you may get a different >> result. > > Essentially my advice to the OP! :-) Let's see what he says. > > -Dave > > -- > LOOKING FOR WORK! What: Ruby (on/off Rails), Python, other modern > languages. > Where: Northern Virginia, Washington DC (near Orange Line), and remote > work. > See: davearonson.com (main) * codosaur.us (code) * dare2xl.com > (excellence). > Specialization is for insects. (Heinlein) - Have Pun, Will Babble! > (Aronson) -- 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.

