From 660fb143fb42527d7686c95416698b84de5c33ab Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Tue, 7 Jun 2011 00:16:43 +0530 Subject: document assets related rake tasks --- railties/guides/source/command_line.textile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'railties/guides/source/command_line.textile') 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 +h5. +assets:+ Assets + +You can precompile the assets in app/assets using rake assets:precompile and remove compiled assets using rake assets:clean. + 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. -- cgit v1.2.3