Displaying 1 result from an estimated 1 matches for "144f15d4".
2006 Feb 09
2
Very weird issue - Function not being recognized in template?
I created a function before going to dinner and placed it in application.rb. Something like:
def at_home
...
end
Then I called it from my .rhtml file like:
<% if at_home %>
.....
<% end %>
The function was working perfectly (I tested it before leaving). When I got back I keep getting
undefined local variable or method `at_home'' for