rails/rails — pull request #6170 by mjtko (2012-05-05 07:26:32+00:00)
Title: Backport beginning and end of hour support for Time and DateTime to 3-2-stable

Like it says on the tin. This is a backport of the feature merged to master in pull request #6156 that adds `beginning_of_hour` and `end_of_hour` to activesupport `Time` and `DateTime` calculations core extensions and associated test coverage.