an association such as
class Student
has_many :classes, :through => :student_class
end
creates the association to Class in the Student java class, however it's treated like a regular has_many (i.e. Class is expected to have Student's ids as a foreign key)