Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Debugging Assets section of Assets Pipeline guide

  • Loading branch information...
commit 3731a0f97ba37224984ec81aaf56b6b1013a85e1 1 parent 9a68ea9
@guilleiguaran guilleiguaran authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 railties/guides/source/asset_pipeline.textile
View
9 railties/guides/source/asset_pipeline.textile
@@ -247,7 +247,14 @@ When the +debug_assets+ parameter is set, this line is expanded out into three s
This allows the individual parts of an asset to be rendered and debugged separately.
-NOTE. Assets debugging is turned on by default in development and test environments.
+Additionally if the +config.assets.debug+ is set to true you can debug your assets passing the +:debug+ option to the assets tags:
+
+<erb>
+<%= javascript_include_tag :application, :debug => true %>
+</erb>
+
+
+NOTE. Assets debugging is turned on by default in development and test environments. You can set +config.assets.allow_debugging+ to false to turn it off.
h3. In Production
Please sign in to comment.
Something went wrong with that request. Please try again.