From 29fb31f561502b66dd319ff864b184a222e1395b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 26 Jul 2012 03:13:07 -0700 Subject: Merge pull request #7167 from route/missed_extend Missed extend for eager_autoload This backport is trying to fix a bug with eager load ActiveRecord::Associations modules --- activerecord/lib/active_record/associations.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 8ebb27b682..5aa9e26fa6 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -105,6 +105,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