1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ci skip] Documentation on how to create custom rake tasks.

This commit is contained in:
Teng Siong Ong 2013-09-09 03:11:28 -07:00
parent ad6e8a2fec
commit ecf7917426

View file

@ -493,7 +493,9 @@ The `tmp:` namespaced tasks will help you clear and create the `Rails.root/tmp`
### Custom Rake Tasks
Custom rake tasks have a `.rake` extension and are placed in `Rails.root/lib/tasks`.
Custom rake tasks have a `.rake` extension and are placed in
`Rails.root/lib/tasks`. You can create these custom rake tasks with the `rails
generate task` command.
```ruby
desc "I am short, but comprehensive description for my cool task"