From ecf791742655b440df0e1be6475669b6c94318aa Mon Sep 17 00:00:00 2001 From: Teng Siong Ong Date: Mon, 9 Sep 2013 03:11:28 -0700 Subject: [ci skip] Documentation on how to create custom rake tasks. --- guides/source/command_line.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'guides/source') 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" -- cgit v1.2.3