aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/performance_testing.textile
diff options
context:
space:
mode:
authorJames Miller <bensie@gmail.com>2010-08-26 12:27:44 -0700
committerJames Miller <bensie@gmail.com>2010-08-26 12:27:44 -0700
commit0631bf4baf463a0e8ca74c56a21ed0b320d254d0 (patch)
tree8873eab06403a4787e1c40bf5be8d135cda5023e /railties/guides/source/performance_testing.textile
parent2bcac56ab4059356f9f1a0f0d970fd3c9d225f65 (diff)
downloadrails-0631bf4baf463a0e8ca74c56a21ed0b320d254d0.tar.gz
rails-0631bf4baf463a0e8ca74c56a21ed0b320d254d0.tar.bz2
rails-0631bf4baf463a0e8ca74c56a21ed0b320d254d0.zip
Simplify render :partial
Diffstat (limited to 'railties/guides/source/performance_testing.textile')
-rw-r--r--railties/guides/source/performance_testing.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/performance_testing.textile b/railties/guides/source/performance_testing.textile
index 65f8d07e7a..7b21485ea0 100644
--- a/railties/guides/source/performance_testing.textile
+++ b/railties/guides/source/performance_testing.textile
@@ -469,7 +469,7 @@ And in "views":http://api.rubyonrails.org/classes/ActionController/Benchmarking/
<erb>
<% benchmark("Showing projects partial") do %>
- <%= render :partial => @projects %>
+ <%= render @projects %>
<% end %>
</erb>