Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 29fb31f561502b66dd319ff864b184a222e1395b 1 parent 3cc872d
@josevalim josevalim authored rafaelfranca committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  activerecord/lib/active_record/associations.rb
1  activerecord/lib/active_record/associations.rb
@@ -105,6 +105,7 @@ def initialize(name)
# See ActiveRecord::Associations::ClassMethods for documentation.
module Associations # :nodoc:
+ extend ActiveSupport::Autoload
extend ActiveSupport::Concern
# These classes will be loaded when associations are created.
Please sign in to comment.
Something went wrong with that request. Please try again.