remove rest of teams code -- NEED TO REMOVE TEAMS FROM DATABASE!

This commit is contained in:
yqbk
2016-06-30 12:17:19 +02:00
parent 2ab0829cb3
commit b0d468c0e0
9 changed files with 4 additions and 38 deletions

View File

@ -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