# == Schema Information # # Table name: glcc_registration_student # # id :integer not null, primary key # user_id :integer not null # student_name :string(255) # school :string(255) # profession :string(255) # location :string(255) # grade :string(255) # phone :string(255) # mail :string(255) # created_on :datetime # is_delete :boolean default("0"), not null # prove_attachment_id :integer # cancel_count :integer default("0") # round :integer default("1"), not null # class GlccRegistrationStudent < ActiveRecord::Base self.table_name = "glcc_registration_student" has_many :examines, :class_name => :GlccMediumTermExamineMaterial, :foreign_key => "student_reg_id" end