Ideally, I'd like to be able to specify seconds (not hours). this line make it not possible: hit.duration = duration.to_i.hours.seconds.to_i if duration Any thoughts on changing this to seconds? I'm happy to write the code.
Ideally, I'd like to be able to specify seconds (not hours).
this line make it not possible: hit.duration = duration.to_i.hours.seconds.to_i if duration
Any thoughts on changing this to seconds? I'm happy to write the code.