Module: AttrEncrypted::Adapters::ActiveRecord

Defined in:
lib/attr_encrypted/adapters/active_record.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object

:nodoc:



4
5
6
7
8
9
# File 'lib/attr_encrypted/adapters/active_record.rb', line 4

def self.extended(base) # :nodoc:
  base.class_eval do
    attr_encrypted_options[:encode] = true
    class << self; alias_method_chain :method_missing, :attr_encrypted; end
  end
end