class method
self.new
Ruby on Rails 8.0.4
Since v7.1.6Signature
self.new(hash_digest_class: ActiveRecord::Encryption.config.hash_digest_class)
No documentation comment.
Parameters
-
hash_digest_classkey = ActiveRecord::Encryption.config.hash_digest_class
Source
# File activerecord/lib/active_record/encryption/key_generator.rb, line 11
def initialize(hash_digest_class: ActiveRecord::Encryption.config.hash_digest_class)
@hash_digest_class = hash_digest_class
end
Defined in activerecord/lib/active_record/encryption/key_generator.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::KeyGenerator