From fd90ff34727155345850a843d4df77384b188b1f Mon Sep 17 00:00:00 2001 From: Jason Nochlin Date: Sun, 20 Mar 2011 01:28:28 -0400 Subject: [PATCH] Require additional dependency for at_beginning_of_week --- .../active_support/core_ext/time/calculations.rb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb index 7e134db..97849f7 100644 --- a/activesupport/lib/active_support/core_ext/time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/time/calculations.rb @@ -1,4 +1,5 @@ require 'active_support/duration' +require 'active_support/core_ext/object/conversions' class Time COMMON_YEAR_DAYS_IN_MONTH = [nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] -- 1.7.2.2