Displaying 1 result from an estimated 1 matches for "spunkymail".
2006 Apr 13
2
acess local variables from helper?
if I call a helper method from inside a partial, it doesn''t appear to have
access to the partials local variables. is there a way to make them avilable
without passing them as parameters?
here''s a simple example
# in the view
<%= render :partial => "my_partial", :locals => :value => 2%>
# _my_partial.rhtml - raises "undefined local variable or