|
- class ExerciseQuestion < ActiveRecord::Base
- include Redmine::SafeAttributes
-
- belongs_to :exercise
- has_many :exercise_choices, :order => "#{ExerciseChoice.table_name}.choice_position",:dependent => :destroy
- has_many :exercise_answers, :dependent => :destroy
- has_many :exercise_standard_answers, :dependent => :destroy
- end
|