mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
get activerecord tests passing with lazy loading
This commit is contained in:
parent
21901e9345
commit
d6b923adbd
2 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,9 @@ module ActiveRecord
|
|||
[Base, DynamicFinderMatch, ConnectionAdapters::AbstractAdapter]
|
||||
end
|
||||
|
||||
autoload :ActiveRecordError, 'active_record/base'
|
||||
autoload :ConnectionNotEstablished, 'active_record/base'
|
||||
|
||||
autoload :Aggregations, 'active_record/aggregations'
|
||||
autoload :AssociationPreload, 'active_record/association_preload'
|
||||
autoload :Associations, 'active_record/associations'
|
||||
|
|
|
@ -2990,3 +2990,6 @@ module ActiveRecord #:nodoc:
|
|||
include Aggregations, Transactions, Reflection, Calculations, Serialization
|
||||
end
|
||||
end
|
||||
|
||||
# TODO: Remove this and make it work with LAZY flag
|
||||
require 'active_record/connection_adapters/abstract_adapter'
|
||||
|
|
Loading…
Reference in a new issue