search for: studentappoint

Displaying 1 result from an estimated 1 matches for "studentappoint".

2006 Apr 09
1
Join using :THROUGH - SQL is wrong even when using :SOURCE
...t; false t.column "course_id", :integer, :default => 0, :null => false [other columns omitted for clarity] end It is meant to be created when a student is accepted as a participant of a course and also records the student''s supervisor. Its model is defined as: class StudentAppointment < ActiveRecord::Base belongs_to :student, :class_name => ''User'', :foreign_key => ''student_id'' belongs_to :supervisor, :class_name => ''User'', :foreign_key => ''supervisor_id'' belongs_to :course end...