diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 06:47:47 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-12-11 06:47:47 +0000 |
commit | 681697813be40395ef79e1aa0d295d01d99ae596 (patch) | |
tree | d3e2613e63ed35cbbbd9059353bd4fd5c04d425f /activesupport/lib/active_support/core_ext/date/calculations.rb | |
parent | 331a82a1c8ec25cd8df3297b434cbb7cc020207a (diff) | |
download | rails-681697813be40395ef79e1aa0d295d01d99ae596.tar.gz rails-681697813be40395ef79e1aa0d295d01d99ae596.tar.bz2 rails-681697813be40395ef79e1aa0d295d01d99ae596.zip |
Add missing at_end_of_* aliases
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date/calculations.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/date/calculations.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/calculations.rb b/activesupport/lib/active_support/core_ext/date/calculations.rb index 439d380af7..d76eba4de7 100644 --- a/activesupport/lib/active_support/core_ext/date/calculations.rb +++ b/activesupport/lib/active_support/core_ext/date/calculations.rb @@ -75,6 +75,7 @@ class Date def end_of_day to_time_in_current_zone.end_of_day end + alias :at_end_of_day :end_of_day def plus_with_duration(other) #:nodoc: if ActiveSupport::Duration === other |