aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-12 19:07:30 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-09-12 19:07:30 -0300
commit2165bef01c1a0ec216096220121bc83165d0c9e1 (patch)
tree0737389885e098b89dc35c79ba15cc2354019976 /guides
parentae7a198cd87f1095d739fcf61601b158d52c2f06 (diff)
parentecf791742655b440df0e1be6475669b6c94318aa (diff)
downloadrails-2165bef01c1a0ec216096220121bc83165d0c9e1.tar.gz
rails-2165bef01c1a0ec216096220121bc83165d0c9e1.tar.bz2
rails-2165bef01c1a0ec216096220121bc83165d0c9e1.zip
Merge pull request #12170 from siong1987/task
[ci skip] Documentation on how to create custom rake tasks.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/command_line.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md
index f11e08a0c1..b2af72bac6 100644
--- a/guides/source/command_line.md
+++ b/guides/source/command_line.md
@@ -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"