instance method
deterministic_encrypted_attributes
Ruby on Rails 8.1.2
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 58
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 58
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::EncryptableRecord