implement file import

This commit is contained in:
Karol
2019-08-21 18:27:42 +02:00
parent 017644c4a5
commit 2af93ea308
3 changed files with 23 additions and 9 deletions

View File

@ -9,7 +9,7 @@ class Exercise < ApplicationRecord
after_initialize :generate_token
after_initialize :set_default_values
belongs_to :execution_environment
belongs_to :execution_environment, optional: true
has_many :submissions
has_and_belongs_to_many :proxy_exercises