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:
parent
795b1c654a
commit
40abab5c84
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ module ActiveRecord
|
|||
class Config
|
||||
attr_accessor :master_key, :deterministic_key, :store_key_references, :key_derivation_salt,
|
||||
: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
|
||||
set_defaults
|
||||
|
@ -20,7 +20,7 @@ module ActiveRecord
|
|||
self.excluded_from_filter_parameters = []
|
||||
|
||||
# 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
|
||||
|
|
|
@ -294,7 +294,7 @@ To keep using the current cache store, you can turn off cache versioning entirel
|
|||
end
|
||||
|
||||
# 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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue