survey/app/models/survey_question_option.rb

9 lines
205 B
Ruby

class SurveyQuestionOption
include Mongoid::Document
field :name, :localize => true
field :jump_to, :default => 0
field :points, :type => Integer, :default => 0
embedded_in :survey_question
end