Skip to content

Instantly share code, notes, and snippets.

@paulghaddad
Created January 5, 2015 20:56
Show Gist options
  • Save paulghaddad/bfaec3b270cfe7592942 to your computer and use it in GitHub Desktop.
Save paulghaddad/bfaec3b270cfe7592942 to your computer and use it in GitHub Desktop.
LevelUp 4: Knows how to list and run rake tasks, and what things should be rake tasks
1. Demonstrate the command to list all the rake tasks, and the one to match a particular set of tasks.
rake -T
2. Explain what sorts of tasks (including examples) belong in a rake task.
Tasks that belong in a rake task include jobs that should be performed on the command line, and not through the UI. Administrative tasks involving assets, the database, documentation, routes, temporary files, and performing batch processes, such as updating database records or sending out emails, are all viable rake tasks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment