提交 7a0fe78d 编写于 作者: Y yuuji.yaginuma

Remove meaningless check

`ActiveSupport::OrderedOptions` responds to any message.
上级 bd79c651
......@@ -70,7 +70,7 @@ class Railtie < Rails::Railtie # :nodoc:
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册