Skip to content
Browse files

Merge pull request #5140 from fbuenemann/fix/autoflush-wrong-template

Move config.autoflush_log to correct template
  • Loading branch information...
2 parents c04a084 + fb9a919 commit 68a977e49757c404cea14ee1c92cb5893f458eaf @spastorino spastorino committed
View
3 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
View
3 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

0 comments on commit 68a977e

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