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.
|
class ChallengeQuestion < ActiveRecord::Base
|
|
# 选择题的选项内容
|
|
belongs_to :challenge_choose
|
|
# right_key 选项是否是答案, position 选项的位置
|
|
attr_accessible :challenge_choose_id, :option_name, :position, :right_key
|
|
end
|