Missing require breaks Time.=== when selectively loading ActiveSupport core_exts in 3.2.4+ #6857

merged 1 commit into from Jun 25, 2012
Commits on Jun 25, 2012
  1. Add missing require.

    rsutphin committed Jun 25, 2012
    If you selectively require core_exts (e.g., require
    'active_support/core_ext/string'), it is possible for
    'active_support/core_ext/time/calculations' to be required when
    `ActiveSupport::TimeWithZone` is not available. If this happens, the next call
    to Time.=== will fail with a NameError.