aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-03-28 23:49:47 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-03-28 23:49:47 -0700
commitf8bc0bcff1c7c62542afb7cd167872c5b8a80114 (patch)
treeb5450e2437f2864158bc8b8e25cc6dc1aadda1bf
parent83a89b8e85503a3d2acb5c500da935106f8d18d9 (diff)
downloadrails-f8bc0bcff1c7c62542afb7cd167872c5b8a80114.tar.gz
rails-f8bc0bcff1c7c62542afb7cd167872c5b8a80114.tar.bz2
rails-f8bc0bcff1c7c62542afb7cd167872c5b8a80114.zip
Explicit dependency on Date calculations extensions
-rw-r--r--activesupport/lib/active_support/core_ext/time/calculations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb
index 7819af3b50..608e3ad29c 100644
--- a/activesupport/lib/active_support/core_ext/time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/time/calculations.rb
@@ -1,4 +1,5 @@
require 'active_support/duration'
+require 'active_support/core_ext/date/calculations'
class Time
COMMON_YEAR_DAYS_IN_MONTH = [nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]