diff options
author | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2012-11-15 23:52:54 +0200 |
---|---|---|
committer | Agis Anastasopoulos <corestudiosinc@gmail.com> | 2012-11-15 23:52:54 +0200 |
commit | 5e323506b5749a43518a1b426f33460991359db5 (patch) | |
tree | e92dd9d97b100ad754141de4b788d76be0fe599a | |
parent | 699075a8277b4922f31bfddfd641238e7b96ed0d (diff) | |
download | rails-5e323506b5749a43518a1b426f33460991359db5.tar.gz rails-5e323506b5749a43518a1b426f33460991359db5.tar.bz2 rails-5e323506b5749a43518a1b426f33460991359db5.zip |
Switch to 1.9 hash syntax
-rw-r--r-- | guides/source/command_line.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md index 0338ef5ad0..9521212581 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -486,7 +486,7 @@ Custom rake tasks have a `.rake` extension and are placed in `Rails.root/lib/tas ```ruby 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 end |