title: Converting seconds into hours only using Ruby in-built function - except the days
body: <p>In Rails, I am trying to convert seconds into hours only. But coincidently function gives something else.</p>
  
  <pre><code>For example - Second = 164580
  Output like : 45:43:0
  </code></pre>
  
  <p>After some interval like 24 hours, it converts into day as well. I am trying to use any Ruby inbuilt function to get total hours only.</p>