Browse files

Switch to 1.9 hash syntax

  • Loading branch information...
1 parent 699075a commit 5e323506b5749a43518a1b426f33460991359db5 @agis agis committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/
@@ -486,7 +486,7 @@ Custom rake tasks have a `.rake` extension and are placed in `Rails.root/lib/tas
desc "I am short, but comprehensive description for my cool task"
-task :task_name => [:prerequisite_task, :another_task_we_depend_on] do
+task task_name: [:prerequisite_task, :another_task_we_depend_on] do
# All your magic here
# Any valid Ruby code is allowed

0 comments on commit 5e32350

Please sign in to comment.