diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb index a673b55849a6e12007029ee9b353d59e6f6fc4f6..ace9a941bb99c3f99f0e25c890c613f6afcbf600 100644 --- a/activesupport/lib/active_support/core_ext/time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/time/calculations.rb @@ -221,6 +221,7 @@ def beginning_of_day def end_of_day change(:hour => 23, :min => 59, :sec => 59, :usec => 999999.999) end + alias :at_end_of_day, :end_of_day # Returns a new Time representing the start of the month (1st of the month, 0:00) def beginning_of_month