You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/models/exercise_choice.rb

9 lines
272 B

6 years ago
class ExerciseChoice < ActiveRecord::Base
default_scope :order => 'choice_position'
include Redmine::SafeAttributes
belongs_to :exercise_question
has_many :exercise_answers, :dependent => :destroy
has_many :exercise_standard_answers, :dependent => :destroy
end