Module: TranslatableAttributes
- Defined in:
- lib/translatable_attributes.rb,
lib/translatable_attributes/version.rb
Overview
with the key ‘product.descriptions.123’.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.included(mod) ⇒ Object
23 24 25 26 27 |
# File 'lib/translatable_attributes.rb', line 23 def self.included(mod) mod.send(:extend, ClassMethods) mod.send(:include, InstanceMethods) mod.send(:after_save, :save_translatable_attributes) end |