Ruby on Rails Discussions
How would I find all "Exams" that belong to a "Student"?
rubyonrails-talk
Bala_Paranj
(Bala Paranj)
August 5, 2007, 5:06pm
1
U can do: student.exams assuming u have student has-many exams
declaration in ur student model
Related topics
Topic
Replies
Views
Activity
How would I find all "Exams" that belong to a "Student"?
rubyonrails-talk
0
131
August 5, 2007
How would I find all "Exams" that belong to a "Student"?
rubyonrails-talk
0
116
August 5, 2007
Associations and find
rubyonrails-talk
0
93
May 8, 2007
Need help with find
rubyonrails-talk
4
121
April 3, 2010
has_many, through to has_many
rubyonrails-talk
1
133
December 7, 2007