diff options
author | James Miller <bensie@gmail.com> | 2010-08-26 12:27:44 -0700 |
---|---|---|
committer | James Miller <bensie@gmail.com> | 2010-08-26 12:27:44 -0700 |
commit | 0631bf4baf463a0e8ca74c56a21ed0b320d254d0 (patch) | |
tree | 8873eab06403a4787e1c40bf5be8d135cda5023e /railties/guides/source/performance_testing.textile | |
parent | 2bcac56ab4059356f9f1a0f0d970fd3c9d225f65 (diff) | |
download | rails-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.textile | 2 |
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> |