提交 dc9ff7bb 编写于 作者: Y Yves Senn

remove auto-explain-config deprecation warning

上级 cfa35c55
* Remove deprecation warning for `auto_explain_threshold_in_seconds`.
*Yves Senn*
* Remove deprecated `:distinct` option from `Relation#count`.
*Yves Senn*
......
......@@ -135,17 +135,6 @@ class Railtie < Rails::Railtie # :nodoc:
EOF
end
unless app.config.active_record.delete(:auto_explain_threshold_in_seconds).nil?
ActiveSupport::Deprecation.warn <<-EOF.strip_heredoc, []
The Active Record auto explain feature has been removed.
To disable this message remove the `active_record.auto_explain_threshold_in_seconds`
option from the `config/environments/*.rb` config file.
See http://guides.rubyonrails.org/4_0_release_notes.html for more information.
EOF
end
unless app.config.active_record.delete(:observers).nil?
ActiveSupport::Deprecation.warn <<-EOF.strip_heredoc, []
Active Record Observers has been extracted out of Rails into a gem.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册