Module: ActiveRecord::Encryption::Contexts

Extended by:
ActiveSupport::Concern
Included in:
ActiveRecord::Encryption
Defined in:
lib/active_record/encryption/contexts.rb

Overview

ActiveRecord::Encryption uses encryption contexts to configure the different entities used to encrypt/decrypt at a given moment in time.

By default, the library uses a default encryption context. This is the Context that gets configured initially via config.active_record.encryption options. Library users can define nested encryption contexts when running blocks of code.

See Context.