Displaying 1 result from an estimated 1 matches for "find_all_in_projects".
2006 Jun 30
2
has_many through - getting the parent
has_many :through is great. Is there anyway to find the association
that it went through?
Example:
class Student
has_many :projects
has_many :grades, :through => :projects
end
student.grades[3].project
Is it clear what I''m asking? How would this be done?
--
Posted via http://www.ruby-forum.com/.