Ruby on Rails Discussions
get the value of a field pointed by a foreign key
rubyonrails-talk
Dave_Goodchild
(Dave Goodchild)
April 16, 2007, 2:50pm
1
I think you need to look into Associations, which manage the table relationships in your models.
Related topics
Topic
Replies
Views
Activity
using find to get the value from a table referenced by foreign key
rubyonrails-talk
2
125
November 14, 2006
Stupid Question - Need to get a field from table...
rubyonrails-talk
1
121
February 27, 2009
relationships quickie
rubyonrails-talk
0
85
January 7, 2009
How to fetch a field through few tables.
rubyonrails-talk
2
268
September 15, 2011
Foreign key in views
rubyonrails-talk
1
93
February 13, 2010