I just added these linkage statements to my Expense and Vendor models,
respectively.

I found a "HOWTO: Beginning Relationships"
webpage (http://www.railsforum.com/viewtopic.php?id=265).

That leads me to think that I need to:
1. Create migration Add_Vendor_ID_to_Expense and then add column
vendor_id of type integer, or something like that.
2. Create migration Add_Expense_ID_to_Vendor and then add column
expense_id of type integer, or something like that.
3. Create migration Create_Expense_Vendor_Table and then add
expense_id and vendor_id columns.

Then I can rake db:migrate.

Is that a sensible start?

Thanks in advance,
Richard

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