socialforge/app/models/exercise_choice.rb

8 lines
228 B
Ruby

class ExerciseChoice < ActiveRecord::Base
include Redmine::SafeAttributes
belongs_to :exercise_question
has_many :exercise_answers, :dependent => :destroy
has_many :exercise_standard_answers, :dependent => :destroy
end