Return to Snippet

Revision: 2478
at February 26, 2007 22:08 by wackimonki


Initial Code
<%= render(:partial => "cart", :object => @cart) %>

Initial URL


Initial Description
Renders the partial template called 'cart', sends along local variable @cart, this will be known locally using the same name as the partial, 'cart'.

Initial Title
Rendering Partial Template while Passing Variable

Initial Tags
template, rails

Initial Language
Ruby