In a Rails project I want to find the difference between two dates and then display it in natural language. Something like
>> (date1 - date2).to_natur
The Rails' ActionView module includes two methods that may do what you require:
ActionView