diff options
author | Sergey Nartimov <just.lest@gmail.com> | 2012-02-12 22:00:09 +0300 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-02-18 22:21:27 +0530 |
commit | ed3a15da9063b283a0ebb15934596fe2b2083473 (patch) | |
tree | 353f769141a82d57ac949b98ad404f2a08732ca5 /railties | |
parent | ea54d2c93ef9c6dede74923fddc5962e5753f223 (diff) | |
download | rails-ed3a15da9063b283a0ebb15934596fe2b2083473.tar.gz rails-ed3a15da9063b283a0ebb15934596fe2b2083473.tar.bz2 rails-ed3a15da9063b283a0ebb15934596fe2b2083473.zip |
fix spacer template example
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 2 |
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 5cff2d0893..7e9194729e 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. |