instance method
ciphertext_for
Ruby on Rails 7.0.10
Since v7.0.10Signature
ciphertext_for(attribute_name)
Returns the ciphertext for attribute_name.
Parameters
-
attribute_namereq
Source
# File activerecord/lib/active_record/encryption/encryptable_record.rb, line 146
def ciphertext_for(attribute_name)
read_attribute_before_type_cast(attribute_name)
end
Defined in activerecord/lib/active_record/encryption/encryptable_record.rb line 146
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::EncryptableRecord