I\'m writing a Rails application, but can\'t seem to find how to do relative time, i.e. if given a certain Time class, it can calculate \"30 seconds ago\" or \"2 days ago\"
What about
30.seconds.ago 2.days.ago
Or something else you were shooting for?