3600 can be written as 1.hour in Rails. (nothing wrong with your code, but your comment makes me think you know it will read better ;-)