Displaying 1 result from an estimated 1 matches for "showco".
Did you mean:
showcol
2009 Oct 21
2
Local not passing to partial when validation error
Hello everyone,
I am passing a variable (showco) to a partial using:
<%= render(:partial => "form", :object => f, :locals=>{:mode => "edit",
:showco => @showco } ) %>
It works fine if there are no validation errors. However, when an error
occurs and the form is redisplayed, the variable is not set. T...