From d963ff433cb6d80c69a315acf8ab038d78bd3fc0 Mon Sep 17 00:00:00 2001 From: Pablo Torres Date: Sun, 16 Dec 2012 20:27:10 -0500 Subject: Add missing requires to core_ext/integer/time --- activesupport/lib/active_support/core_ext/integer/time.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/core_ext/integer/time.rb b/activesupport/lib/active_support/core_ext/integer/time.rb index 9fb4f6b73a..82080ffe51 100644 --- a/activesupport/lib/active_support/core_ext/integer/time.rb +++ b/activesupport/lib/active_support/core_ext/integer/time.rb @@ -1,3 +1,6 @@ +require 'active_support/duration' +require 'active_support/core_ext/numeric/time' + class Integer # Enables the use of time calculations and declarations, like 45.minutes + # 2.hours + 4.years. -- cgit v1.2.3