aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorMohammad Typaldos <mohammad.elabid@gmail.com>2011-05-29 06:37:08 -0400
committerMohammad Typaldos <mohammad.elabid@gmail.com>2011-05-29 06:37:08 -0400
commit4967b35e00318d4f3ba3fdf9b7778eec387d64f2 (patch)
tree004ba9bbb95e0aa019f7c9daab104ce06c5c4b44 /railties/guides
parentfc381a3a42267898865838f216f7715fb4dbaa16 (diff)
downloadrails-4967b35e00318d4f3ba3fdf9b7778eec387d64f2.tar.gz
rails-4967b35e00318d4f3ba3fdf9b7778eec387d64f2.tar.bz2
rails-4967b35e00318d4f3ba3fdf9b7778eec387d64f2.zip
Why should you use the asset pipeline?
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/asset_pipeline.textile4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile
index 9ea1aa9e01..d1b33055f2 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/railties/guides/source/asset_pipeline.textile
@@ -14,6 +14,8 @@ h3. What Is The Asset Pipeline?
h4. Why Should I Use it?
+Using the asset pipeline allows you to package javascript, CSS, or images with your Rails application, library, or plugin. It also makes it easy to create dynamic CSS with LESS and clean JavaScript with CoffeeScript to name a few of the popular preprocessors. The big difference is that they are now housed in app/assets, treating them like first-class citizens instead of just throughing them into their public folders.
+
h3. How to Use the Asset Pipeline
h4. Asset Organization
@@ -27,3 +29,5 @@ h4. Stacking Preproccessors
h3. Packaging Assets with Your Plugin
h3. More on Sprockets
+
+Sprockets is the engine that handles the asset pipeline in Rails 3.1 and above. Their offical website is avaialbe at "http://getsprockets.org/":http://getsprockets.org/ and the source code is "on github":https://github.com/sstephenson/sprockets.