I am new to rails, so please forget this newbie question..
I would like to add a function for calculating the elapsed time from
the date of a post and the moment when the page is retrieved (Yes, I
am sure 1milion of people did it already..) Considering that it should
only process the data retrieved trough the model and controller, I
would prefer to implement it as a simple utility function and not as a
method of the controller. So, the question is: is there a proper way
to add simple functions and have them accessible within the .rhtml