From 2925cde881e888f01504c9f17c798dd0037b7a18 Mon Sep 17 00:00:00 2001 From: Tony Ta Date: Tue, 15 Dec 2015 22:45:59 -0800 Subject: delete code commented out (and replaced) in e93d0a5 --- activesupport/lib/active_support/core_ext/time/calculations.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb index 675db8a36b..768c9a1b2c 100644 --- a/activesupport/lib/active_support/core_ext/time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/time/calculations.rb @@ -162,7 +162,6 @@ class Time # Returns a new Time representing the start of the day (0:00) def beginning_of_day - #(self - seconds_since_midnight).change(usec: 0) change(:hour => 0) end alias :midnight :beginning_of_day -- cgit v1.2.3