diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-02 22:42:23 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-09-02 22:42:23 +0530 |
commit | 220c77dd68430cc150c61119a14c86dee659911c (patch) | |
tree | 8b5cd9d1c9f0fca0806bfd1dd2affe9dc64f570e /railties/guides/source/asset_pipeline.textile | |
parent | 57847fbfaf284d014274af6e6e70840472c43989 (diff) | |
download | rails-220c77dd68430cc150c61119a14c86dee659911c.tar.gz rails-220c77dd68430cc150c61119a14c86dee659911c.tar.bz2 rails-220c77dd68430cc150c61119a14c86dee659911c.zip |
debug option to js, stylesheet tags are ignored when debug mode is off
Diffstat (limited to 'railties/guides/source/asset_pipeline.textile')
-rw-r--r-- | railties/guides/source/asset_pipeline.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index 73f77ac05e..86ae23ab11 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/railties/guides/source/asset_pipeline.textile @@ -277,7 +277,7 @@ Debug can also be set in the Rails helper methods: <%= javascript_include_tag "application", :debug => true %> </erb> -Don't forget to remove this before deploying to production! +The +:debug+ option is ignored if the debug mode is off. You could potentially also enable compression in development mode as a sanity check, and disable it on-demand as required for debugging. |