Permalink
Browse files

Merge pull request #6857 from rsutphin/as_core_ext_time_missing_require

Missing require breaks Time.=== when selectively loading ActiveSupport core_exts in 3.2.4+
  • Loading branch information...
carlosantoniodasilva committed Jun 25, 2012
2 parents 1981159 + e6d4dc3 commit 07875be977aae8d95df33a5fa43d30562cd2b1df
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/core_ext/time/calculations.rb
@@ -1,5 +1,6 @@
require 'active_support/duration'
require 'active_support/core_ext/time/conversions'
+require 'active_support/time_with_zone'
class Time
COMMON_YEAR_DAYS_IN_MONTH = [nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

0 comments on commit 07875be

Please sign in to comment.