123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::Encryption

Relationships & Source Files
Namespace Children
Modules:
Classes:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Defined in: activerecord/lib/active_record/encryption.rb,
activerecord/lib/active_record/encryption/auto_filtered_parameters.rb,
activerecord/lib/active_record/encryption/cipher.rb,
activerecord/lib/active_record/encryption/config.rb,
activerecord/lib/active_record/encryption/configurable.rb,
activerecord/lib/active_record/encryption/context.rb,
activerecord/lib/active_record/encryption/contexts.rb,
activerecord/lib/active_record/encryption/derived_secret_key_provider.rb,
activerecord/lib/active_record/encryption/deterministic_key_provider.rb,
activerecord/lib/active_record/encryption/encryptable_record.rb,
activerecord/lib/active_record/encryption/encrypted_attribute_type.rb,
activerecord/lib/active_record/encryption/encrypted_fixtures.rb,
activerecord/lib/active_record/encryption/encrypting_only_encryptor.rb,
activerecord/lib/active_record/encryption/encryptor.rb,
activerecord/lib/active_record/encryption/envelope_encryption_key_provider.rb,
activerecord/lib/active_record/encryption/errors.rb,
activerecord/lib/active_record/encryption/extended_deterministic_queries.rb,
activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb,
activerecord/lib/active_record/encryption/key.rb,
activerecord/lib/active_record/encryption/key_generator.rb,
activerecord/lib/active_record/encryption/key_provider.rb,
activerecord/lib/active_record/encryption/message.rb,
activerecord/lib/active_record/encryption/message_serializer.rb,
activerecord/lib/active_record/encryption/null_encryptor.rb,
activerecord/lib/active_record/encryption/properties.rb,
activerecord/lib/active_record/encryption/read_only_null_encryptor.rb,
activerecord/lib/active_record/encryption/scheme.rb,
activerecord/lib/active_record/encryption/cipher/aes256_gcm.rb

Configurable - Attributes & Methods

Contexts - Attributes & Methods

Class Method Summary

Class Attribute Details

.config (readonly) Also known as: #config

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/configurable.rb', line 10

mattr_reader :config, default: Config.new

.default_context (rw) Also known as: #default_context

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/contexts.rb', line 17

mattr_accessor :default_context, default: Context.new

.encrypted_attribute_declaration_listeners (rw) Also known as: #encrypted_attribute_declaration_listeners

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/configurable.rb', line 11

mattr_accessor :encrypted_attribute_declaration_listeners

Class Method Details

.eager_load!

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption.rb', line 50

def self.eager_load!
  super

  Cipher.eager_load!
end

Instance Attribute Details

#config (readonly)

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/configurable.rb', line 10

mattr_reader :config, default: Config.new

#default_context (rw)

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/contexts.rb', line 17

mattr_accessor :default_context, default: Context.new

#encrypted_attribute_declaration_listeners (rw)

[ GitHub ]

  
# File 'activerecord/lib/active_record/encryption/configurable.rb', line 11

mattr_accessor :encrypted_attribute_declaration_listeners