1
0
Fork 0
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:
Joshua Peek 2008-11-24 12:09:49 -06:00
parent 21901e9345
commit d6b923adbd
2 changed files with 6 additions and 0 deletions

View file

@ -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'

View file

@ -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'