instance method validate_config!

Ruby on Rails 7.1.6

Since v7.0.10 Private

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

Signature

validate_config!()

No documentation comment.

Source
# File activerecord/lib/active_record/encryption/scheme.rb, line 78
        def validate_config!
          raise Errors::Configuration, "ignore_case: can only be used with deterministic encryption" if @ignore_case && !@deterministic
          raise Errors::Configuration, "key_provider: and key: can't be used simultaneously" if @key_provider_param && @key
        end

Defined in activerecord/lib/active_record/encryption/scheme.rb line 78 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Encryption::Scheme

Type at least 2 characters to search.

↑↓ navigate · open · esc close