Files
codeocean/app/models/exercise_collection.rb
Maximilian Grundke 06e99059d4 Add new lines at eof
2017-10-04 12:53:09 +02:00

10 lines
187 B
Ruby

class ExerciseCollection < ActiveRecord::Base
has_and_belongs_to_many :exercises
def to_s
"#{I18n.t('activerecord.models.exercise_collection.one')}: #{name} (#{id})"
end
end