instance method
encrypt
Ruby on Rails 8.1.2
Since v7.0.10Signature
encrypt(clean_text, key_provider: nil, cipher_options: {})
No documentation comment.
Parameters
-
clean_textreq -
key_providerkey = nil -
cipher_optionskey = {}
Source
# File activerecord/lib/active_record/encryption/read_only_null_encryptor.rb, line 11
def encrypt(clean_text, key_provider: nil, cipher_options: {})
raise Errors::Encryption, "This encryptor is read-only"
end
Defined in activerecord/lib/active_record/encryption/read_only_null_encryptor.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub