rails/rails — pull request #5710 by marceloeloelo (2012-04-02 23:58:25+00:00)
Title: distance_of_time_in_words inconsistency between code and documentation

`distance_of_time_in_words` documentation isn't consistent on what the method does.

`distance_of_time_in_words(1.minute + 59.seconds) `
should return
`"2 minutes"`
but is returning
`"1 minute"`

So, either the method documentation or the code itself are wrong.
I've pull-requested a solution assuming that the error is in the code rather than in the documentation.

Any suggestions?