mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
get activerecord tests passing with lazy loading
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user