clanlaw wrote: > On 14 August 2010 13:48, Abder-Rahman Ali <li...@ruby-forum.com> wrote: >>> Colin >> >> I found that there is a "post_id" column in the "comments" table. > > There you are then, presumably in the example Comment belongs_to Post, > so this is generating the foreign key field for the post. Question > answered. > > Colin
What do you mean by run it? -- 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-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.