module EncryptableRecord
Ruby on Rails 8.0.4
Since v7.0.10This is the concern mixed in Active Record models to make them encryptable. It adds the encrypts attribute declaration, as well as the API to encrypt and decrypt records.
Extends
Constants
Methods (defined here)
- # add_length_validation_for_encrypted_columns
- # ciphertext_for
- # decrypt
- # deterministic_encrypted_attributes
- # encrypt
- # encrypt_attribute
- # encrypted_attribute?
- # encrypts
- # global_previous_schemes_for
- # override_accessors_to_preserve_original
- # preserve_original_encrypted
- # scheme_for
- # source_attribute_from_preserved_attribute
- # validate_column_size
Private methods
(8)
Implementation detail — not part of the public API.
Used by
Included by (1)
Methods (inherited)
From ActiveSupport::Concern (3)
- # class_methods
- # included
- # prepended