From 4a98a3059f8903d1df64526bf53b456f2a8a7eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= Date: Thu, 23 Feb 2012 00:38:34 +0100 Subject: Always default to flushing enabled --- railties/lib/rails/application/configuration.rb | 2 +- .../rails/app/templates/config/environments/development.rb.tt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'railties') diff --git a/railties/lib/rails/application/configuration.rb b/railties/lib/rails/application/configuration.rb index 3144e1d3cb..2d1399894a 100644 --- a/railties/lib/rails/application/configuration.rb +++ b/railties/lib/rails/application/configuration.rb @@ -41,7 +41,7 @@ module Rails @file_watcher = ActiveSupport::FileUpdateChecker @exceptions_app = nil @default_method_for_update = :put - @autoflush_log = !Rails.env.production? + @autoflush_log = true @assets = ActiveSupport::OrderedOptions.new @assets.enabled = false 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 ade7321adc..5fa6efbec0 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 @@ -37,5 +37,5 @@ <%- end -%> # Disable automatic flushing of the log to improve performance. - config.autoflush_log = false + #config.autoflush_log = false end -- cgit v1.2.3