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