Skip to content
This repository
Browse code

Advertise autoflush option in production template

  • Loading branch information...
commit 681a574cbec8dba45b92f007cff781f8630090a4 1 parent 0f3d426
Felix Bünemann authored
3  railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
@@ -35,4 +35,7 @@
35 35
   # Expands the lines which load the assets.
36 36
   config.assets.debug = true
37 37
   <%- end -%>
  38
+
  39
+  # Disable automatic flushing of the log to improve performance.
  40
+  config.autoflush_log = false
38 41
 end

0 notes on commit 681a574

Alex Tambellini

Your commit message says production template but this is the development template...I think this makes more sense in the production template.

Felix Bünemann

@atambo I've read the code a couple of times but didn't spot that. I'll supply a fix as PR.

Please sign in to comment.
Something went wrong with that request. Please try again.