socialforge/app/models/homework_test.rb

7 lines
179 B
Ruby

class HomeworkTest < ActiveRecord::Base
attr_accessible :input, :output, :homework_common_id,:result,:error_msg
belongs_to :homework_common
has_many :student_work_test
end