Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12170 from siong1987/task

[ci skip] Documentation on how to create custom rake tasks.
  • Loading branch information...
commit 2165bef01c1a0ec216096220121bc83165d0c9e1 2 parents ae7a198 + ecf7917
@rafaelfranca rafaelfranca authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 guides/source/
4 guides/source/
@@ -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.
desc "I am short, but comprehensive description for my cool task"
Please sign in to comment.
Something went wrong with that request. Please try again.