dev_aliyun
cxt 6 years ago
parent 081298a556
commit cce0dba89a

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

Loading…
Cancel
Save