From 0f8f99b989be949708331b81489053c94bd0d953 Mon Sep 17 00:00:00 2001 From: Pan Thomakos Date: Sun, 18 Mar 2012 11:24:04 -0700 Subject: Removed ActiveSupport#load_all! This is no longer used and actually raises an error when trying to load `ActiveSupport::Dependencies`. I removed the related code and added the `Dependencies` module to the autoload list. --- activesupport/lib/active_support/time.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/time.rb b/activesupport/lib/active_support/time.rb index 9634b52ecf..bcd5d78b54 100644 --- a/activesupport/lib/active_support/time.rb +++ b/activesupport/lib/active_support/time.rb @@ -4,10 +4,6 @@ module ActiveSupport autoload :Duration, 'active_support/duration' autoload :TimeWithZone, 'active_support/time_with_zone' autoload :TimeZone, 'active_support/values/time_zone' - - on_load_all do - [Duration, TimeWithZone, TimeZone] - end end require 'date' -- cgit v1.2.3