From 7a0fe78d08c93574430be3304e83555602f1d875 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Mon, 8 Jan 2018 12:25:24 +0900 Subject: Remove meaningless check `ActiveSupport::OrderedOptions` responds to any message. --- activesupport/lib/active_support/railtie.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/railtie.rb b/activesupport/lib/active_support/railtie.rb index 635d98367e..6b8fa676a9 100644 --- a/activesupport/lib/active_support/railtie.rb +++ b/activesupport/lib/active_support/railtie.rb @@ -70,7 +70,7 @@ module ActiveSupport end initializer "active_support.set_hash_digest_class" do |app| - if app.config.active_support.respond_to?(:hash_digest_class) && app.config.active_support.hash_digest_class + if app.config.active_support.hash_digest_class ActiveSupport::Digest.hash_digest_class = app.config.active_support.hash_digest_class end -- cgit v1.2.3