]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/development.rb
Restore asset debugging in development mode
[rails.git] / config / environments / development.rb
index 750a596b4378007829ed71ea9e9b961e6e97d72c..36a6f28204cb149371be89245b4c578c1c2bf18c 100644 (file)
@@ -56,6 +56,11 @@ Rails.application.configure do
   # Highlight code that triggered database queries in logs.
   config.active_record.verbose_query_logs = true unless Settings.status == "database_offline"
 
+  # 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
+
   # Suppress logger output for asset requests.
   config.assets.quiet = true