1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Rename to something shorter

This commit is contained in:
Jorge Manrubia 2021-03-10 23:50:56 +01:00
parent 795b1c654a
commit 40abab5c84
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ module ActiveRecord
class Config class Config
attr_accessor :master_key, :deterministic_key, :store_key_references, :key_derivation_salt, attr_accessor :master_key, :deterministic_key, :store_key_references, :key_derivation_salt,
:support_unencrypted_data, :encrypt_fixtures, :validate_column_size, :add_to_filter_parameters, :support_unencrypted_data, :encrypt_fixtures, :validate_column_size, :add_to_filter_parameters,
:excluded_from_filter_parameters, :extend_queries_to_support_multiple_deterministic_encryption_schemes :excluded_from_filter_parameters, :extend_queries
def initialize def initialize
set_defaults set_defaults
@ -20,7 +20,7 @@ module ActiveRecord
self.excluded_from_filter_parameters = [] self.excluded_from_filter_parameters = []
# TODO: Setting to false for now as the implementation is a bit experimental # TODO: Setting to false for now as the implementation is a bit experimental
self.extend_queries_to_support_multiple_deterministic_encryption_schemes = false self.extend_queries = false
end end
end end
end end

View file

@ -294,7 +294,7 @@ To keep using the current cache store, you can turn off cache versioning entirel
end end
# Support extended queries for deterministic attributes # Support extended queries for deterministic attributes
if ActiveRecord::Encryption.config.extend_queries_to_support_multiple_deterministic_encryption_schemes if ActiveRecord::Encryption.config.extend_queries
ActiveRecord::Encryption::ExtendedDeterministicQueries.install_support ActiveRecord::Encryption::ExtendedDeterministicQueries.install_support
end end