instance method
validate_config!
Ruby on Rails 7.0.10
Since v7.0.10 PrivateSignature
validate_config!()
No documentation comment.
Source
# File activerecord/lib/active_record/encryption/scheme.rb, line 72
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 72
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::Scheme