Seconds/Minutes/Days Ago

Is this a ready made function in Ruby and/or Rails to display something like "20 minutes ago" with a given date and the current date?

Thanks in advance.

time_ago_in_words is the function you're looking for. E.g.,

Last Post: <%= time_ago_in_words %> ago

jbeduya wrote:

Thank you so much! Ruby on Rails Rocks!