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
|
2016-11-15 11:33:12 +00:00
|
|
|
|
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
|