Module: AttrEncrypted::Adapters::ActiveRecord
- Defined in:
- lib/attr_encrypted/adapters/active_record.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
7 8 9 10 |
# File 'lib/attr_encrypted/adapters/active_record.rb', line 7 def self.extended(base) base.[:encode] = true base.eigenclass_eval { alias_method_chain :method_missing, :attr_encrypted } end |