aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/layouts_and_rendering.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-02-18 22:02:34 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-02-18 22:02:34 +0530
commit2cb86cdb8a0e1d66a646ce81c8e9a065427f89e3 (patch)
tree1c1f928ff506c4a605356e2b1da522e08ff12020 /railties/guides/source/layouts_and_rendering.textile
parent2f689d462d8e94365724c5575b14ab997e11bb43 (diff)
parent709f33d6042463bd4dbfb16f6f8946785556d5ab (diff)
downloadrails-2cb86cdb8a0e1d66a646ce81c8e9a065427f89e3.tar.gz
rails-2cb86cdb8a0e1d66a646ce81c8e9a065427f89e3.tar.bz2
rails-2cb86cdb8a0e1d66a646ce81c8e9a065427f89e3.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/layouts_and_rendering.textile')
-rw-r--r--railties/guides/source/layouts_and_rendering.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile
index 6ac9645917..be352cfe3d 100644
--- a/railties/guides/source/layouts_and_rendering.textile
+++ b/railties/guides/source/layouts_and_rendering.textile
@@ -1188,7 +1188,7 @@ You can also specify a second partial to be rendered between instances of the ma
h5. Spacer Templates
<erb>
-<%= render @products, :spacer_template => "product_ruler" %>
+<%= render :partial => @products, :spacer_template => "product_ruler" %>
</erb>
Rails will render the +_product_ruler+ partial (with no data passed in to it) between each pair of +_product+ partials.