diff options
author | Xavier Noria <fxn@hashref.com> | 2012-12-16 19:00:48 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-12-16 19:00:48 -0800 |
commit | d8607c1d7fa063873a570cace5bd4c4f55bb8af9 (patch) | |
tree | bc4e986eb27058679f7e641a40b531c9ca706d8c /activesupport/lib/active_support | |
parent | aefdcfdf3daab74b337035060e86f6854d80ab1e (diff) | |
parent | d963ff433cb6d80c69a315acf8ab038d78bd3fc0 (diff) | |
download | rails-d8607c1d7fa063873a570cace5bd4c4f55bb8af9.tar.gz rails-d8607c1d7fa063873a570cace5bd4c4f55bb8af9.tar.bz2 rails-d8607c1d7fa063873a570cace5bd4c4f55bb8af9.zip |
Merge pull request #8532 from ptn/add_missing_require
Add missing requires to core_ext/integer/time
Diffstat (limited to 'activesupport/lib/active_support')
-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>. |