I just dabbed Ruby on rails abit and what to know where is the right
to define a method, that prinf some output information to views, based
I define a function "def foo " in contrioller but the calling from a
“test.rhtml” give errors. I google a while and did not find a quick
for this. Or shall I do this in helper class?
May some one shed some light on this?