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:
parent
ad6e8a2fec
commit
ecf7917426
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue