Permalink
Browse files

Fix syntax error in the command_line guide [ci skip]

  • Loading branch information...
1 parent 9eb72ac commit 9e34127dad0b84b271c5cf8ccef03c86fb962740 @rafaelfranca rafaelfranca committed Sep 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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.

0 comments on commit 9e34127

Please sign in to comment.