Skip to content

Loading…

Documentation changes: Assets Pipeline guide and Railties changelog #2681

Merged
merged 2 commits into from

3 participants

@guilleiguaran
Ruby on Rails member

No description provided.

@guilleiguaran
Ruby on Rails member
@vijaydev vijaydev commented on an outdated diff
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 allow the following: `rails d model post`. [Andrey Ognevsky]
@vijaydev Ruby on Rails member

s/allow/allows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@vijaydev vijaydev commented on an outdated diff
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:
@vijaydev Ruby on Rails member

s/the debug option/the +:debug+ option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@guilleiguaran
Ruby on Rails member

Changes done!

@fxn fxn merged commit 635b9d4 into rails:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 12 additions and 1 deletion.
  1. +4 −0 railties/CHANGELOG
  2. +8 −1 railties/guides/source/asset_pipeline.textile
View
4 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]
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
Something went wrong with that request. Please try again.