Skip to content

Commit cb8b4e3

Browse files
committed
Let AR::LegacyYamlHandler be eager_loaded
rails#27849
1 parent f640c4c commit cb8b4e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

activerecord/lib/active_record.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ module ActiveRecord
4343
autoload :Explain
4444
autoload :Inheritance
4545
autoload :Integration
46-
autoload :LegacyYamlAdapter
4746
autoload :Migration
4847
autoload :Migrator, 'active_record/migration'
4948
autoload :ModelSchema
@@ -80,6 +79,8 @@ module ActiveRecord
8079
autoload :AttributeMethods
8180
autoload :AutosaveAssociation
8281

82+
autoload :LegacyYamlAdapter
83+
8384
autoload :Relation
8485
autoload :AssociationRelation
8586
autoload :NullRelation

0 commit comments

Comments
 (0)