diff options
author | Felix Bùˆnemann <buenemann@louis.info> | 2012-02-23 13:32:57 +0100 |
---|---|---|
committer | Felix Bùˆnemann <buenemann@louis.info> | 2012-02-23 13:32:57 +0100 |
commit | 7549a7839be56f7dd19ca60e290dabeb74306110 (patch) | |
tree | bb86c7d4dff63764a1159b8da24b588c92a4648b /railties/lib | |
parent | ed988eece022ae314428d153792aaa26e8749b47 (diff) | |
download | rails-7549a7839be56f7dd19ca60e290dabeb74306110.tar.gz rails-7549a7839be56f7dd19ca60e290dabeb74306110.tar.bz2 rails-7549a7839be56f7dd19ca60e290dabeb74306110.zip |
Move config.autoflush_log to correct template.
This accidentally ended up in the development template
instead of the production template, where it makes
most sense.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 3 |
2 files changed, 3 insertions, 3 deletions
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 5fa6efbec0..eb4dfa7c89 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 @@ -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 diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index e9a86d175e..374e4801e0 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/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 |