Ruby on Rails

Rake is a utility similar to make in Unix. You can say Rake is the make of ruby - the R uby m AKE. Rails defines a number of tasks to help you.

Here is a list of various important commands supported by Rake:
rake db:fixtures:load - Load fixtures into the current environment's database. Load specific fixtures using FIXTURES=x,y
1. rake db:migrate - Migrate the database through scripts in db/migrate. Target specific version with VERSION=x
2. rake db:schema:dump - Create a db/schema.rb file that can be portably used against any DB supported by AR.
3. rake db:schema:load - Load a schema.rb file into the database.
4. rake db:sessions:clear - Clear the sessions table.
5. rake db:sessions:create - Creates a sessions table for use with CGI::Session::ActiveRecordStore.
1. rake db:structure:dump - Dump the database structure to a SQL file.
2. rake db:test:clone - Recreate the test database from the current environment's database schema.
3. rake db:test:clone_structure - Recreate the test databases from the development structure.
4. rake db:test:prepare - Prepare the test database and load the schema.
5. rake db:test:purge - Empty the test database.
6. rake doc:appBuild the app HTML Files.
7. rake doc:clobber_app - Remove rdoc products.
8. rake doc:clobber_plugins - Remove plugin documentation.
9. rake doc:clobber_rails Remove rdoc products.
10.rake doc:plugins - Generate documation for all installed plugins.
11. rake doc:rails - Build the rails HTML Files.
12. rake doc:reapp - Force a rebuild of the RDOC files
13. rake doc:rerails - Force a rebuild of the RDOC files
14. rake log:clear - Truncates all *.log files in log/ to zero bytes
15. rake rails:freeze:edge - Lock this application to latest Edge Rails. Lock a specific revision with REVISION=X.
16. rake rails:freeze:gems - Lock this application to the current gems (by unpacking them into vendor/rails)
17. rake rails:unfreeze - Unlock this application from freeze of gems or edge and return to a fluid use of system gems
18. rake rails:update - Update both scripts and public/javascripts from Rails.
19. rake rails:update:javascripts - Update your javascripts from your current rails install.
20. rake rails:update:scripts - Add new scripts to the application script/