remove rest of teams code -- NEED TO REMOVE TEAMS FROM DATABASE!
This commit is contained in:
@ -10,8 +10,7 @@ class Exercise < ActiveRecord::Base
|
||||
after_initialize :set_default_values
|
||||
|
||||
belongs_to :execution_environment
|
||||
has_many :submissions
|
||||
belongs_to :team
|
||||
has_many :submission
|
||||
|
||||
has_many :external_users, source: :user, source_type: ExternalUser, through: :submissions
|
||||
has_many :internal_users, source: :user, source_type: InternalUser, through: :submissions
|
||||
|
Reference in New Issue
Block a user