class GraduationGroup < ActiveRecord::Base belongs_to :course belongs_to :user has_many :members has_one :graduation_task_group_assignation, dependent: :destroy has_many :graduation_work_comment_assignations, dependent: :destroy attr_accessible :name, :user_id, :course_id end