diff options
author | Jian Weihang <tonytonyjan@gmail.com> | 2015-01-12 02:30:28 +0800 |
---|---|---|
committer | Jian Weihang <tonytonyjan@gmail.com> | 2015-01-12 02:30:28 +0800 |
commit | 445957690a861e953d2185f5e9f051350c12969d (patch) | |
tree | 5a9b51526b375cf8e5b10aa7a4cb698b8474154d /activesupport | |
parent | b1c827bb6bbea3350bc42d659c5b31a30c231e0e (diff) | |
download | rails-445957690a861e953d2185f5e9f051350c12969d.tar.gz rails-445957690a861e953d2185f5e9f051350c12969d.tar.bz2 rails-445957690a861e953d2185f5e9f051350c12969d.zip |
fix dependency
Diffstat (limited to 'activesupport')
-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 ef32817f55..98716383f4 100644 --- a/activesupport/lib/active_support/core_ext/numeric/time.rb +++ b/activesupport/lib/active_support/core_ext/numeric/time.rb @@ -1,6 +1,8 @@ require 'active_support/duration' require 'active_support/core_ext/time/calculations' require 'active_support/core_ext/time/acts_like' +require 'active_support/core_ext/date/calculations' +require 'active_support/core_ext/date/acts_like' class Numeric # Enables the use of time calculations and declarations, like 45.minutes + 2.hours + 4.years. |