small medium large xlarge

20 Jan 2011, 22:51
David Wilbur (50 posts)

from page 368:

render(:partial => ‘article’, :object => @an_article, :locals => { :authorized_by => session[:user_name], :from_ip => request.remote_ip })

could i suggest a little more discussion about this. people are stumbling on this on various forums.

examples of issues that people are having are:

another issue seems related to what you do above a :locals that has more then one variable saying it couldn’t find the variable/method after the first entry.

also, there seem to be few examples of what to do in the partial when you do something other then the simple render.

You must be logged in to comment