diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-08 12:25:24 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-01-08 12:25:24 +0900 |
commit | 7a0fe78d08c93574430be3304e83555602f1d875 (patch) | |
tree | 954e0f9c7260dc5bff96f6d2da197457800fdbf6 /activesupport | |
parent | bd79c651e0fd5f41ae39dfe8cc46901cdaf3468c (diff) | |
download | rails-7a0fe78d08c93574430be3304e83555602f1d875.tar.gz rails-7a0fe78d08c93574430be3304e83555602f1d875.tar.bz2 rails-7a0fe78d08c93574430be3304e83555602f1d875.zip |
Remove meaningless check
`ActiveSupport::OrderedOptions` responds to any message.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |