Browse files

corrected URLs and controller benchmark method call

  • Loading branch information...
ericcf committed Jun 26, 2012
1 parent 809d4f8 commit 8371b0b8544b830d65ed0af14e3aac3fde6425ac
Showing with 3 additions and 3 deletions.
  1. +3 −3 guides/source/performance_testing.textile
@@ -524,11 +524,11 @@ Please refer to the "API docs":
h4. Controller
-Similarly, you could use this helper method inside "controllers":
+Similarly, you could use this helper method inside "controllers":
def process_projects
- self.class.benchmark("Processing projects") do
+ benchmark("Processing projects") do
@@ -539,7 +539,7 @@ NOTE: +benchmark+ is a class method inside controllers
h4. View
-And in "views":
+And in "views":
<% benchmark("Showing projects partial") do %>

0 comments on commit 8371b0b

Please sign in to comment.