From 9e34127dad0b84b271c5cf8ccef03c86fb962740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 28 Sep 2012 16:08:16 -0300 Subject: Fix syntax error in the command_line guide [ci skip] --- guides/source/command_line.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides/source') diff --git a/guides/source/command_line.md b/guides/source/command_line.md index e7ecdc51d8..22645babfe 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -503,7 +503,7 @@ end You can group tasks by placing them in namespaces: ```ruby -namespace :db +namespace :db do desc "This task does nothing" task :nothing do # Seriously, nothing @@ -517,7 +517,7 @@ Invocation of the tasks will look like: rake task_name rake "task_name[value 1]" # entire argument string should be quoted rake db:nothing -``` +``` NOTE: If your need to interact with your application models, perform database queries and so on, your task should depend on the `environment` task, which will load your application code. -- cgit v1.2.3