diff options
author | Xavier Noria <fxn@hashref.com> | 2013-02-24 11:16:35 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-02-24 11:16:35 -0800 |
commit | d65376fce4ea806e489d1fb985bc9393bcd2e0e2 (patch) | |
tree | 4a4c37dc90a9bc1ad4af5192419b7717a7dc1bcc /guides/code | |
parent | 40111c5c8afdcc53252098bf07d7174c5679c4b8 (diff) | |
parent | d3688e02ca52c0b72d3092e8498da51e06b7fc58 (diff) | |
download | rails-d65376fce4ea806e489d1fb985bc9393bcd2e0e2.tar.gz rails-d65376fce4ea806e489d1fb985bc9393bcd2e0e2.tar.bz2 rails-d65376fce4ea806e489d1fb985bc9393bcd2e0e2.zip |
Merge pull request #9400 from senny/remove_auto_explain_threshold_in_seconds
remove config.auto_explain_threshold_in_seconds
Diffstat (limited to 'guides/code')
-rw-r--r-- | guides/code/getting_started/config/environments/development.rb | 4 | ||||
-rw-r--r-- | guides/code/getting_started/config/environments/production.rb | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/guides/code/getting_started/config/environments/development.rb b/guides/code/getting_started/config/environments/development.rb index ed2667ac58..d169e9452c 100644 --- a/guides/code/getting_started/config/environments/development.rb +++ b/guides/code/getting_started/config/environments/development.rb @@ -22,10 +22,6 @@ Blog::Application.configure do # Only use best-standards-support built into browsers. config.action_dispatch.best_standards_support = :builtin - # Log the query plan for queries taking more than this (works - # with SQLite, MySQL, and PostgreSQL). - config.active_record.auto_explain_threshold_in_seconds = 0.5 - # Raise an error on page load if there are pending migrations config.active_record.migration_error = :page_load diff --git a/guides/code/getting_started/config/environments/production.rb b/guides/code/getting_started/config/environments/production.rb index 58dab2a319..368a735122 100644 --- a/guides/code/getting_started/config/environments/production.rb +++ b/guides/code/getting_started/config/environments/production.rb @@ -72,10 +72,6 @@ Blog::Application.configure do # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify - # Log the query plan for queries taking more than this (works - # with SQLite, MySQL, and PostgreSQL). - # config.active_record.auto_explain_threshold_in_seconds = 0.5 - # Disable automatic flushing of the log to improve performance. # config.autoflush_log = false |