aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-07 00:16:43 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-07 00:16:43 +0530
commit660fb143fb42527d7686c95416698b84de5c33ab (patch)
tree5536d5d234913f0807ed5bab50269d619f9ec1c2 /railties
parentc0c0a64ce652a6471ed1f9c72b3f5bc94164c0e5 (diff)
downloadrails-660fb143fb42527d7686c95416698b84de5c33ab.tar.gz
rails-660fb143fb42527d7686c95416698b84de5c33ab.tar.bz2
rails-660fb143fb42527d7686c95416698b84de5c33ab.zip
document assets related rake tasks
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/command_line.textile4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/guides/source/command_line.textile b/railties/guides/source/command_line.textile
index 1796c2fb78..0498f802e7 100644
--- a/railties/guides/source/command_line.textile
+++ b/railties/guides/source/command_line.textile
@@ -561,6 +561,10 @@ rake tmp:sessions:clear # Clears all files in tmp/sessions
rake tmp:sockets:clear # Clears all files in tmp/sockets
</shell>
+h5. +assets:+ Assets
+
+You can precompile the assets in <tt>app/assets</tt> using <tt>rake assets:precompile</tt> and remove compiled assets using <tt>rake assets:clean</tt>.
+
h5. +db:+ Database
The most common tasks of the +db:+ Rake namespace are +migrate+ and +create+, and it will pay off to try out all of the migration rake tasks (+up+, +down+, +redo+, +reset+). +rake db:version+ is useful when troubleshooting, telling you the current version of the database.