Displaying 1 result from an estimated 1 matches for "d123a015".
Did you mean:
1123015
2006 Apr 22
1
Newbie question about using helpers in controllers
I''m trying to display a list of pages in xml. I want to change
page.update_at to distance_of_time_in_words_to_now. However whenever I
run it I get an error saying:
undefined method `distance_of_time_in_words_to_now''
I know I can just go the rails api and copy the source, but there must
be another way.
def list
@page = Page.find(:all, :order => "updated_at desc")