aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-03-11 11:28:28 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-03-11 11:28:28 -0700
commitdbd8bec525ea690daab15084330cabeab785f06d (patch)
treee1e506fc5418a64d43544a531f34618826e528e2 /railties/lib
parent7cc588b684f6d1af3e7fab1edfa6715e269e41a2 (diff)
downloadrails-dbd8bec525ea690daab15084330cabeab785f06d.tar.gz
rails-dbd8bec525ea690daab15084330cabeab785f06d.tar.bz2
rails-dbd8bec525ea690daab15084330cabeab785f06d.zip
Mention that debugging can be slow.
https://github.com/rails/rails/pull/3180\#issuecomment-14705821 has mention of rendering going from 1-2ms to 4 seconds with this on, which seems reasonable: debugging is slow.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt2
1 files changed, 2 insertions, 0 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 d0e62d09cc..8b64881dbc 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
@@ -26,6 +26,8 @@
<%- unless options.skip_sprockets? -%>
# Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
config.assets.debug = true
<%- end -%>
end