Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Advertise autoflush option in production template

  • Loading branch information...
commit 681a574cbec8dba45b92f007cff781f8630090a4 1 parent 0f3d426
@felixbuenemann felixbuenemann authored
View
3  railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
@@ -35,4 +35,7 @@
# 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
@atambo
atambo added a note

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

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

@atambo done, submitted PR gh-5140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
end
Please sign in to comment.
Something went wrong with that request. Please try again.