diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-18 01:32:26 -0400 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-18 01:32:26 -0400 |
commit | 3018f4727621b6f2b117a2b5d75561127f2a8592 (patch) | |
tree | 99a7b27fcde2de6c05130829ff736d16ee3ce615 /activesupport/lib/active_support/core_ext/numeric | |
parent | 2692d3278a7b15699491f8c86b4180eaad9ce196 (diff) | |
download | rails-3018f4727621b6f2b117a2b5d75561127f2a8592.tar.gz rails-3018f4727621b6f2b117a2b5d75561127f2a8592.tar.bz2 rails-3018f4727621b6f2b117a2b5d75561127f2a8592.zip |
add some missing requires for AS core_ext/numeric/time. Closes #1038
Diffstat (limited to 'activesupport/lib/active_support/core_ext/numeric')
-rw-r--r-- | activesupport/lib/active_support/core_ext/numeric/time.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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. |