From e5c88434dbb7dc0690a474ae7c913453bf289328 Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Tue, 29 Dec 2009 19:04:14 -0800 Subject: Use the correct method for eager loading autoloads --- railties/lib/rails/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib') diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index d714c5ac41..5419b46f19 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -143,7 +143,7 @@ module Rails # Used by Passenger to ensure everything's loaded before forking and # to avoid autoload race conditions in JRuby. initializer :preload_frameworks do - ActiveSupport::Autoload.eager_load! if config.preload_frameworks + ActiveSupport::Autoload.eager_autoload! if config.preload_frameworks end initializer :initialize_cache do -- cgit v1.2.3