diff options
author | Felix Bùˆnemann <buenemann@louis.info> | 2012-02-23 00:38:34 +0100 |
---|---|---|
committer | Felix Bùˆnemann <buenemann@louis.info> | 2012-02-23 00:38:34 +0100 |
commit | 4a98a3059f8903d1df64526bf53b456f2a8a7eb7 (patch) | |
tree | b438d765daf69efa9cf535fe05e0fe224e6c2cca /railties | |
parent | 681a574cbec8dba45b92f007cff781f8630090a4 (diff) | |
download | rails-4a98a3059f8903d1df64526bf53b456f2a8a7eb7.tar.gz rails-4a98a3059f8903d1df64526bf53b456f2a8a7eb7.tar.bz2 rails-4a98a3059f8903d1df64526bf53b456f2a8a7eb7.zip |
Always default to flushing enabled
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/application/configuration.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 2 |
2 files changed, 2 insertions, 2 deletions
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 |