Friday, August 6, 2010

[Rails] Re: Re: Object/Record foreign key IDs set to zero

Iain Davis wrote:
> Oh! I tried that and it cleared up my problems. So I'm telling the
> vote with the label 'one' that it is associated with the story with
> the label 'one'? And Rails does the rest?

Yes.

And +1 for following Marnen's advice on using factories (like
Machinist).
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate