Ruby on Rails Discussions
Using multiple foreign keys in views
rubyonrails-talk
Frederick_Cheung
(Frederick Cheung)
October 16, 2007, 2:53pm
1
You need to give your associations different names, eg :home_team, :visiting_team.
Fred
Related topics
Topic
Replies
Views
Activity
Using multiple foreign keys in views
rubyonrails-talk
2
108
October 16, 2007
My First Rails App - Foreign Keys Questions
rubyonrails-talk
0
119
November 9, 2006
Problem with two foreign keys
rubyonrails-talk
2
121
July 7, 2008
Connecting several tables in single database
rubyonrails-talk
10
256
September 28, 2010
how to use several foreign key pointing to the same model?
rubyonrails-talk
2
185
December 3, 2006