Class: ActiveEncryption::Adapters::ActiveRecord
- Inherits:
-
Object
- Object
- ActiveEncryption::Adapters::ActiveRecord
- Defined in:
- lib/active_encryption/adapters/active_record.rb
Overview
Encapsulates the ActiveRecord adapter
Instance Method Summary collapse
-
#initialize ⇒ ActiveRecord
constructor
A new instance of ActiveRecord.
Constructor Details
#initialize ⇒ ActiveRecord
Returns a new instance of ActiveRecord.
7 8 9 10 11 |
# File 'lib/active_encryption/adapters/active_record.rb', line 7 def initialize ActiveSupport.on_load(:active_record) do extend ActiveEncryption::Encryptable end end |