diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-02-24 18:59:34 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-24 20:01:04 +0100 |
commit | d3688e02ca52c0b72d3092e8498da51e06b7fc58 (patch) | |
tree | 7b41894f42e908dbed53c664f55e8fb3961e1b3c /activerecord/test/cases/fixtures_test.rb | |
parent | 5fc3b87c93edf770ea0d6b52a28ea225183dbfd7 (diff) | |
download | rails-d3688e02ca52c0b72d3092e8498da51e06b7fc58.tar.gz rails-d3688e02ca52c0b72d3092e8498da51e06b7fc58.tar.bz2 rails-d3688e02ca52c0b72d3092e8498da51e06b7fc58.zip |
remove AR auto-explain (config.auto_explain_threshold_in_seconds)
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.
Diffstat (limited to 'activerecord/test/cases/fixtures_test.rb')
0 files changed, 0 insertions, 0 deletions