instance method
deterministic_encrypted_attributes
Ruby on Rails 7.0.10
Since v7.0.10Signature
deterministic_encrypted_attributes()
Returns the list of deterministic encryptable attributes in the model class.
Source
# File activerecord/lib/active_record/encryption/encryptable_record.rb, line 56
def deterministic_encrypted_attributes
@deterministic_encrypted_attributes ||= encrypted_attributes&.find_all do |attribute_name|
type_for_attribute(attribute_name).deterministic?
end
end
Defined in activerecord/lib/active_record/encryption/encryptable_record.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::EncryptableRecord