method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: DeterministicKeyProvider
new(password) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/encryption/deterministic_key_provider.rb, line 7
      def initialize(password)
        passwords = Array(password)
        raise ActiveRecord::Encryption::Errors::Configuration, "Deterministic encryption keys can't be rotated" if passwords.length > 1
        super(passwords)
      end
Register or log in to add new notes.