Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 07875be977aae8d95df33a5fa43d30562cd2b1df 2 parents 1981159 + e6d4dc3
@carlosantoniodasilva carlosantoniodasilva authored
View
1  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]
Please sign in to comment.
Something went wrong with that request. Please try again.