search for: caugherti

Displaying 1 result from an estimated 1 matches for "caugherti".

Did you mean: caugherty
2006 Sep 09
5
"locals" in render partial
Hi all, I''m getting an error and I really don''t know why, because I seem to be doing everything well..I pass "testvar" as a variable to render partial: <%= render(:partial => "main/categorysmallitem", :collection => group_of_four, :locals => {:testvar=>"AA"})%> But then, when I try to use testvar inside the partial, it