On 12 Aug 2011, at 01:15, 7stud -- wrote:

> Colin Law wrote in post #1016241:
> 
>> On 11 August 2011 19:02, 7stud -- <[email protected]> wrote:
>> 
>>> 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.

It would be useful to know in particular what you found lacking in the 
Associations Guide, so that we (the community) can improve it. My own first 
impression of it is that it pretty much assumes the reader is already familiar 
with foreign keys (fields like 'topic_id'). Is that the same thing you found?

Chris

-- 
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.

Reply via email to