mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #39573 from etiennebarrie/remove-invalid-autoload
Remove invalid autoloads
This commit is contained in:
commit
d6cb380753
6 changed files with 2 additions and 4 deletions
|
@ -11,7 +11,6 @@ module ActionCable
|
|||
autoload :Configuration
|
||||
|
||||
autoload :Worker
|
||||
autoload :ActiveRecordConnectionManagement, "action_cable/server/worker/active_record_connection_management"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
require "active_support/callbacks"
|
||||
require "active_support/core_ext/module/attribute_accessors_per_thread"
|
||||
require "action_cable/server/worker/active_record_connection_management"
|
||||
require "concurrent"
|
||||
|
||||
module ActionCable
|
||||
|
|
|
@ -10,7 +10,6 @@ module ActionController
|
|||
autoload :API
|
||||
autoload :Base
|
||||
autoload :Metal
|
||||
autoload :Middleware
|
||||
autoload :Renderer
|
||||
autoload :FormBuilder
|
||||
|
||||
|
|
|
@ -77,7 +77,6 @@ module ActiveRecord
|
|||
autoload :Translation
|
||||
autoload :Validations
|
||||
autoload :SecureToken
|
||||
autoload :DatabaseSelector, "active_record/middleware/database_selector"
|
||||
|
||||
eager_autoload do
|
||||
autoload :ConnectionAdapters
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "active_record/migration/join_table"
|
||||
require "active_support/core_ext/string/access"
|
||||
require "digest/sha2"
|
||||
|
||||
|
|
|
@ -530,6 +530,7 @@ module ActiveRecord
|
|||
class Migration
|
||||
autoload :CommandRecorder, "active_record/migration/command_recorder"
|
||||
autoload :Compatibility, "active_record/migration/compatibility"
|
||||
autoload :JoinTable, "active_record/migration/join_table"
|
||||
|
||||
# This must be defined before the inherited hook, below
|
||||
class Current < Migration #:nodoc:
|
||||
|
|
Loading…
Reference in a new issue