Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation changes: Assets Pipeline guide and Railties changelog #2681

Merged
merged 2 commits into from Aug 25, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions railties/CHANGELOG
@@ -1,5 +1,9 @@
*Rails 3.2.0 (unreleased)*

* Added destroy alias to Rails engines. [Guillermo Iguaran]

* Added destroy alias for Rails command line. This allows the following: `rails d model post`. [Andrey Ognevsky]

* Attributes on scaffold and model generators default to string. This allows the following: "rails g scaffold Post title body:text author" [José Valim]

* Removed old plugin generator (`rails generate plugin`) in favor of `rails plugin new` command. [Guillermo Iguaran]
Expand Down
9 changes: 8 additions & 1 deletion railties/guides/source/asset_pipeline.textile
Expand Up @@ -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

Expand Down