diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-28 16:08:16 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-28 16:08:16 -0300 |
commit | 9e34127dad0b84b271c5cf8ccef03c86fb962740 (patch) | |
tree | 7949a568fae0d8396eb17692a154841b6d3fdc07 /guides/source | |
parent | 9eb72ac78f15078c362cb4bc6cc42ddda182127b (diff) | |
download | rails-9e34127dad0b84b271c5cf8ccef03c86fb962740.tar.gz rails-9e34127dad0b84b271c5cf8ccef03c86fb962740.tar.bz2 rails-9e34127dad0b84b271c5cf8ccef03c86fb962740.zip |
Fix syntax error in the command_line guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/command_line.md | 4 |
1 files changed, 2 insertions, 2 deletions
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. |