From 3018f4727621b6f2b117a2b5d75561127f2a8592 Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Wed, 18 May 2011 01:32:26 -0400 Subject: add some missing requires for AS core_ext/numeric/time. Closes #1038 --- activesupport/lib/active_support/core_ext/numeric/time.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activesupport/lib/active_support/core_ext/numeric/time.rb') diff --git a/activesupport/lib/active_support/core_ext/numeric/time.rb b/activesupport/lib/active_support/core_ext/numeric/time.rb index e73915ffcf..58a03d508e 100644 --- a/activesupport/lib/active_support/core_ext/numeric/time.rb +++ b/activesupport/lib/active_support/core_ext/numeric/time.rb @@ -1,4 +1,6 @@ require 'active_support/duration' +require 'active_support/core_ext/time/calculations' +require 'active_support/core_ext/time/acts_like' class Numeric # Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years. -- cgit v1.2.3