Module: Mobility::Plugins::ActiveRecord::TranslatedAttributes

Defined in:
lib/mobility/plugins/active_record/attribute_methods.rb

Instance Method Summary collapse

Instance Method Details

#attributesObject


9
10
11
# File 'lib/mobility/plugins/active_record/attribute_methods.rb', line 9

def attributes
  super.merge(translated_attributes)
end

#translated_attributesObject


5
6
7
# File 'lib/mobility/plugins/active_record/attribute_methods.rb', line 5

def translated_attributes
  {}
end