trustieforge/app/models/exercise_answer.rb

9 lines
178 B
Ruby

class ExerciseAnswer < ActiveRecord::Base
#学生答题
include Redmine::SafeAttributes
belongs_to :user
belongs_to :exercise_question
belongs_to :exercise_choice
end