class method self.new

Ruby on Rails 8.0.4

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

self.new(hash_digest_class: ActiveRecord::Encryption.config.hash_digest_class)

No documentation comment.

Parameters

hash_digest_class key = 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

Type at least 2 characters to search.

↑↓ navigate · open · esc close