Forum: Rails-core (closed, excessive spam) Patch for Review

Posted by Simon Jefford (Guest)
on 2008-06-30 11:42
(Received via mailing list)
http://rails.lighthouseapp.com/projects/8994/tickets/509-variable_name-option-added-to-render-partial-collection

This patch adds :variable_name to the render method in the ":partial,
:collection" case so when you render a collection using partials your 
local
variable name can be different from the template name.

Thanks,

Simon
This topic is locked and can not be replied to.