Notes posted by wyrmmageRSS feed
For some reason the :object option is completely undocumented. Here’s an example usage.
# Renders the partial, making @new_person available through the local variable 'person' render :partial => "person", :object => @new_person
(Credit goes to Catfish for the example, which I obtained from http://dev.rubyonrails.or/ticket/8518 )