1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides/code/getting_started/config/environments
Yves Senn d3688e02ca 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.
2013-02-24 20:01:04 +01:00
..
development.rb remove AR auto-explain (config.auto_explain_threshold_in_seconds) 2013-02-24 20:01:04 +01:00
production.rb remove AR auto-explain (config.auto_explain_threshold_in_seconds) 2013-02-24 20:01:04 +01:00
test.rb Re-do Getting Started application with Rails 4. 2013-01-22 00:12:29 -05:00