class

ActiveRecord::Encryption::EncryptedAttributeType

rails latest stable - Superclass: ActiveRecord::Type::Text

An ActiveModel::Type::Value that encrypts/decrypts strings of text.

This is the central piece that connects the encryption system with encrypts declarations in the model classes. Whenever you declare an attribute as encrypted, it configures an EncryptedAttributeType for that attribute.

Included modules

  • ActiveModel::Type::Helpers::Mutable

Attributes

[R]cast_type
[R]scheme

Files

  • activerecord/lib/active_record/encryption/encrypted_attribute_type.rb