You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/models/graduation_group.rb

10 lines
316 B

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