survey/app/models/survey_question_option.rb

8 lines
156 B
Ruby

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