Colin Law wrote in post #1016241: > On 11 August 2011 19:02, 7stud -- <[email protected]> wrote: >>>> >>> <%= form_for @post do |f| %> >>> >> >> >> I don't know anything about associations yet. Is topic_id a field in >> the Post model when a Post has_one :topic? > > See the Rails Guide on Associations. Make sure you completely > understand what is there, it is vital to understanding Rails. >
I read it. Not very good. I'll have to read up on some database theory. Walter Davis wrote in post #1016265: > On Aug 11, 2011, at 2:02 PM, 7stud -- wrote: > >> I don't know anything about associations yet. Is topic_id a field in >> the Post model when a Post has_one :topic? > > Yes. Thanks. -- 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.

