class ChallengeQuestion < ActiveRecord::Base # 选择题的选项内容 belongs_to :challenge_choose # right_key 选项是否是答案, position 选项的位置 attr_accessible :challenge_choose_id, :option_name, :position, :right_key end