注释掉暂时未完成的功能

dev_repository_hjq
huang 10 years ago
parent 697f891546
commit 7197c33be4

@ -1,5 +1,5 @@
class InviteList < ActiveRecord::Base
attr_accessible :project_id, :user_id
belongs_to :user
belongs_to :project
# belongs_to :user
# belongs_to :project
end

@ -67,7 +67,7 @@ class Project < ActiveRecord::Base
has_many :student, :through => :students_for_courses, :source => :user
has_one :course_extra, :class_name => 'Course', :foreign_key => :extra,:primary_key => :identifier, :dependent => :destroy
has_many :applied_projects
has_many :invite_lists
# has_many :invite_lists
# end
#ADDED BY NIE

@ -126,7 +126,7 @@ class User < Principal
# end
# 邮件邀请状态
has_many :invite_lists
# has_many :invite_lists
# end
######added by nie

Loading…
Cancel
Save