diff options
author | Rob Sharp <qnm@fea.st> | 2015-06-12 15:57:48 +1000 |
---|---|---|
committer | Rob Sharp <qnm@fea.st> | 2015-06-12 15:57:48 +1000 |
commit | 012af6cd7c815350f1ece6d9f46d202efb26a089 (patch) | |
tree | 301effad6f1e2c498d3874c342cc6696d6f68375 /activesupport | |
parent | 96bb004fc6e67cdf1b873f11ad5f8efd06949797 (diff) | |
download | rails-012af6cd7c815350f1ece6d9f46d202efb26a089.tar.gz rails-012af6cd7c815350f1ece6d9f46d202efb26a089.tar.bz2 rails-012af6cd7c815350f1ece6d9f46d202efb26a089.zip |
Add missing require to ensure #advance will work without being implicity required
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/.ruby-version | 1 | ||||
-rw-r--r-- | activesupport/lib/active_support/core_ext/time/calculations.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/.ruby-version b/activesupport/.ruby-version new file mode 100644 index 0000000000..7d2ed7c702 --- /dev/null +++ b/activesupport/.ruby-version @@ -0,0 +1 @@ +2.1.4 diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb index c554501893..5fdd032fac 100644 --- a/activesupport/lib/active_support/core_ext/time/calculations.rb +++ b/activesupport/lib/active_support/core_ext/time/calculations.rb @@ -3,6 +3,7 @@ require 'active_support/core_ext/time/conversions' require 'active_support/time_with_zone' require 'active_support/core_ext/time/zones' require 'active_support/core_ext/date_and_time/calculations' +require 'active_support/core_ext/date/calculations' class Time include DateAndTime::Calculations |