aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-04-15 23:37:16 +0200
committerPiotr Sarnacki <drogus@gmail.com>2012-04-15 23:45:59 +0200
commita748eca6cfc24c7615f8ab82c650321c9019b148 (patch)
tree2eb79000ed0f6b060e533d3b437086f7474ad0d1 /activesupport/lib
parent2f9fdbfb9468ff24a9f52763848c75fe72003522 (diff)
downloadrails-a748eca6cfc24c7615f8ab82c650321c9019b148.tar.gz
rails-a748eca6cfc24c7615f8ab82c650321c9019b148.tar.bz2
rails-a748eca6cfc24c7615f8ab82c650321c9019b148.zip
Add missing require in Active Support time zones (fixes #5854)
I also removed the other require as it's already present in `activesupport/core_ext/time/calculations`
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/time/zones.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/time/zones.rb b/activesupport/lib/active_support/core_ext/time/zones.rb
index 0c5962858e..b4ed74a7b0 100644
--- a/activesupport/lib/active_support/core_ext/time/zones.rb
+++ b/activesupport/lib/active_support/core_ext/time/zones.rb
@@ -1,3 +1,4 @@
+require 'active_support/core_ext/time/calculations'
require 'active_support/time_with_zone'
class Time