From 7549a7839be56f7dd19ca60e290dabeb74306110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= Date: Thu, 23 Feb 2012 13:32:57 +0100 Subject: Move config.autoflush_log to correct template. This accidentally ended up in the development template instead of the production template, where it makes most sense. --- .../rails/app/templates/config/environments/development.rb.tt | 3 --- .../rails/app/templates/config/environments/production.rb.tt | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/lib/rails/generators') diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt index 5fa6efbec0..eb4dfa7c89 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt @@ -35,7 +35,4 @@ # Expands the lines which load the assets. config.assets.debug = true <%- end -%> - - # Disable automatic flushing of the log to improve performance. - #config.autoflush_log = false end diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index e9a86d175e..374e4801e0 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -70,4 +70,7 @@ # with SQLite, MySQL, and PostgreSQL). # config.active_record.auto_explain_threshold_in_seconds = 0.5 <%- end -%> + + # Disable automatic flushing of the log to improve performance. + #config.autoflush_log = false end -- cgit v1.2.3