Created
January 5, 2015 20:56
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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