1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update Debugging Assets section of Assets Pipeline guide

This commit is contained in:
Guillermo Iguaran 2011-08-24 21:42:19 -05:00
parent 9a68ea9643
commit 3731a0f97b

View file

@ -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. 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 h3. In Production