title: Converting hours, minutes and seconds to seconds in ruby
body: <p>I was wondering how to safely convert HH:MM:SS to seconds in ruby, given the input will only be in HH:MM:SS (or H:M:S), without days.</p>
  
  <p>Days would have to be in hours already - "168:00:00" instead of "7 days, 00:00:00".</p>