diff options
author | Pablo Torres <tn.pablo@gmail.com> | 2012-12-16 20:27:10 -0500 |
---|---|---|
committer | Pablo Torres <tn.pablo@gmail.com> | 2012-12-16 20:27:10 -0500 |
commit | d963ff433cb6d80c69a315acf8ab038d78bd3fc0 (patch) | |
tree | bc4e986eb27058679f7e641a40b531c9ca706d8c /activesupport | |
parent | aefdcfdf3daab74b337035060e86f6854d80ab1e (diff) | |
download | rails-d963ff433cb6d80c69a315acf8ab038d78bd3fc0.tar.gz rails-d963ff433cb6d80c69a315acf8ab038d78bd3fc0.tar.bz2 rails-d963ff433cb6d80c69a315acf8ab038d78bd3fc0.zip |
Add missing requires to core_ext/integer/time
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/integer/time.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 <tt>45.minutes + # 2.hours + 4.years</tt>. |