On Fri, Aug 6, 2010 at 1:29 PM, Frederick Cheung <[email protected]> wrote: > > > On Aug 6, 2:28 pm, Iain Davis <[email protected]> wrote: >> The votes fixture: >> one: >> story_id: one >> > > That should be story: one if you want rails to fill in the foreign > keys for you.
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? Iain -- 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.

