Skip to content

A platform for community discussion. Free, open, simple.

DEV: Use new defaults for ActiveSupport::Digest

Loïc Guitautaa4b1d9c38d2
diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb
index 43f6f416229..7ee8ffa85fe 100644
--- a/config/initializers/new_framework_defaults_7_0.rb
+++ b/config/initializers/new_framework_defaults_7_0.rb
@@ -30,7 +30,7 @@ Rails.application.config.action_view.apply_stylesheet_media_default = false
# Change the digest class for ActiveSupport::Digest.
# Changing this default means that for example Etags change and
# various cache keys leading to cache invalidation.
-# Rails.application.config.active_support.hash_digest_class = OpenSSL::Digest::SHA256
+Rails.application.config.active_support.hash_digest_class = OpenSSL::Digest::SHA256
# Don't override ActiveSupport::TimeWithZone.name and use the default Ruby
# implementation.