title: Is there any method in Rails to convert minutes as integer to days, months, etc
body: <p>I have a list of values in minutes that I would like to easily convert to its nearest matching like the following</p>
  
  <pre><code>10 =&gt; 10 minutes
  1440 =&gt; 1 day
  86400 =&gt; 2 months
  525600 =&gt; 1 year
  </code></pre>
  
  <p>Is there any simple way to do this in Rails?</p>