Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Ruby on Rails/Built-In Rails Tools/Convenient Rake tasks

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Ruby on Rails Built-In Rails Tools/What is Rake anyway? Built-In Rails Tools/Make your own rake tasks You can find out what tasks are currently available to Rake with the rake -T command. The tasks below are common and used on regular basis. Database Tasks rake db:migrate [VERSION=x]: Execute the migrations to the specified version. If the version is omitted then it will migrate to the highest version possible. rake db:sessions:clear: Clear all of the sessions in the database. Test Tasks rake test:units: Execute unit tests Cache Tasks rake tmp:cache:clear: Clear out the page/fragment cache.