From 8cf300c9060f9aa6d8754b80e9dca6c44e6145d1 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Thu, 26 Jul 2012 14:04:32 +0400 Subject: Missed extend for eager_autoload --- activerecord/lib/active_record/associations.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 7df9edfc98..05715feb97 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -104,6 +104,7 @@ module ActiveRecord # See ActiveRecord::Associations::ClassMethods for documentation. module Associations # :nodoc: + extend ActiveSupport::Autoload extend ActiveSupport::Concern # These classes will be loaded when associations are created. -- cgit v1.2.3