method
encrypt
rails latest stable - Class:
ActiveRecord::Encryption::EncryptedAttributeType
encrypt(value)private
No documentation available.
# File activerecord/lib/active_record/encryption/encrypted_attribute_type.rb, line 132
def encrypt(value)
with_context do
encryptor.encrypt(value, **encryption_options)
end
end