aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorTeng Siong Ong <siong1987@gmail.com>2013-09-09 03:11:28 -0700
committerTeng Siong Ong <siong1987@gmail.com>2013-09-10 01:03:53 -0700
commitecf791742655b440df0e1be6475669b6c94318aa (patch)
treec443ba318fe88cb4986d9b312eb07d047ac5e915 /guides
parentad6e8a2fec552bf239cb1c059323d93a265c1b18 (diff)
downloadrails-ecf791742655b440df0e1be6475669b6c94318aa.tar.gz
rails-ecf791742655b440df0e1be6475669b6c94318aa.tar.bz2
rails-ecf791742655b440df0e1be6475669b6c94318aa.zip
[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"