• Y
    remove AR auto-explain (config.auto_explain_threshold_in_seconds) · d3688e02
    Yves Senn 提交于
    We discussed that the auto explain feature is rarely used.
    This PR removes only the automatic explain. You can still display
    the explain output for any given relation using `ActiveRecord::Relation#explain`.
    
    As a side-effect this should also fix the connection problem during
    asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie`
    forced a connection.
    d3688e02
explain.rb 1.2 KB