dev_aliyun
cxt 5 years ago
parent 081298a556
commit cce0dba89a

@ -1,6 +1,6 @@
class CourseGroup < ActiveRecord::Base
# attr_accessible :title, :body
belongs_to :course
belongs_to :course, counter_cache: true
has_many :course_members
has_many :members
has_many :memberships, :class_name => 'Member'

Loading…
Cancel
Save