Skip to content

Commit a97c7f5

Browse files
committed
Remove unnecessary paths
`ActiveSupport::Autoload` already knows how to find those files.
1 parent 98e1020 commit a97c7f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

activerecord/lib/active_record.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ module Scoping
154154
module Middleware
155155
extend ActiveSupport::Autoload
156156

157-
autoload :DatabaseSelector, "active_record/middleware/database_selector"
158-
autoload :ShardSelector, "active_record/middleware/shard_selector"
157+
autoload :DatabaseSelector
158+
autoload :ShardSelector
159159
end
160160

161161
module Tasks
@@ -168,8 +168,8 @@ module Tasks
168168
"active_record/tasks/postgresql_database_tasks"
169169
end
170170

171-
autoload :TestDatabases, "active_record/test_databases"
172-
autoload :TestFixtures, "active_record/fixtures"
171+
autoload :TestDatabases
172+
autoload :TestFixtures
173173

174174
# Lazily load the schema cache. This option will load the schema cache
175175
# when a connection is established rather than on boot. If set,

0 commit comments

Comments
 (0)