Friendly way to display date / time in rails
While integrating twitter into a rails app i found a cool and easy way to display the date / time of the tweets.
This would work well on comments, blog posts etc.. Anyway the way this is done is by :-
1 time_ago_in_words(example.created_at)
would display as "about 1 hour"
Thats it, easy as that !

