|
class SurveyQuestionRadiogroup
|
|
include Mongoid::Document
|
|
include Mongoid::Attributes::Dynamic
|
|
|
|
field :name, :localize => true
|
|
|
|
embedded_in :survey_question
|
|
|
|
#def attributes()
|
|
# tmp = super()
|
|
# tmp.merge({name_translations: tmp[:name], qid: tmp[:_id].to_s})
|
|
#end
|
|
end |