search for: show_valu

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

Did you mean: show_value
2006 Apr 13
2
acess local variables from helper?
...ay 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 method `value''" <%= show_value %> # helper method def show_value value end