socialforge/app/models/course_infos.rb

6 lines
122 B
Ruby

class CourseInfos < ActiveRecord::Base
attr_accessible :user_id, :course_id
belongs_to :user
belongs_to :course
end