method

set_defaults

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Config
set_defaults() private

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/config.rb, line 48
        def set_defaults
          self.store_key_references = false
          self.support_unencrypted_data = false
          self.encrypt_fixtures = false
          self.validate_column_size = true
          self.add_to_filter_parameters = true
          self.excluded_from_filter_parameters = []
          self.previous_schemes = []
          self.forced_encoding_for_deterministic_encryption = Encoding::UTF_8
          self.hash_digest_class = OpenSSL::Digest::SHA1

          # TODO: Setting to false for now as the implementation is a bit experimental
          self.extend_queries = false
        end
Register or log in to add new notes.