survey/app/models/survey_question_radiogroup.rb

13 lines
285 B
Ruby
Raw Normal View History

2014-10-06 05:55:25 +00:00
class SurveyQuestionRadiogroup
include Mongoid::Document
2021-08-31 11:00:01 +00:00
include Mongoid::Attributes::Dynamic
2014-10-06 05:55:25 +00:00
field :name, :localize => true
2014-10-06 05:55:25 +00:00
embedded_in :survey_question
2021-07-08 13:31:27 +00:00
#def attributes()
# tmp = super()
# tmp.merge({name_translations: tmp[:name], qid: tmp[:_id].to_s})
#end
2014-10-06 05:55:25 +00:00
end