instance method
has_encrypted_attributes?
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
has_encrypted_attributes?()
No documentation comment.
Source
# File activerecord/lib/active_record/encryption/encryptable_record.rb, line 204
def has_encrypted_attributes?
self.class.encrypted_attributes.present?
end
Defined in activerecord/lib/active_record/encryption/encryptable_record.rb line 204
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::EncryptableRecord