diff options
author | Xavier Noria <fxn@hashref.com> | 2019-03-08 08:47:24 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2019-03-08 09:04:12 -0800 |
commit | b686b671913bddcfcc8b27ca3b0802c9228372a7 (patch) | |
tree | ccfaa2b9dc2f499f90eda7590358d24fa3b1104d /railties/lib | |
parent | 32d2a63bf4c77e11f8b7930629fdc206af51c51e (diff) | |
download | rails-b686b671913bddcfcc8b27ca3b0802c9228372a7.tar.gz rails-b686b671913bddcfcc8b27ca3b0802c9228372a7.tar.bz2 rails-b686b671913bddcfcc8b27ca3b0802c9228372a7.zip |
moves a require to the file that needs it
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails.rb | 1 | ||||
-rw-r--r-- | railties/lib/rails/autoloaders.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails.rb b/railties/lib/rails.rb index 663960bb77..1f533a8c04 100644 --- a/railties/lib/rails.rb +++ b/railties/lib/rails.rb @@ -6,7 +6,6 @@ require "pathname" require "active_support" require "active_support/dependencies/autoload" -require "active_support/dependencies/zeitwerk_integration" require "active_support/core_ext/kernel/reporting" require "active_support/core_ext/module/delegation" require "active_support/core_ext/array/extract_options" diff --git a/railties/lib/rails/autoloaders.rb b/railties/lib/rails/autoloaders.rb index 36444ef05e..1bd3f18a74 100644 --- a/railties/lib/rails/autoloaders.rb +++ b/railties/lib/rails/autoloaders.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "active_support/dependencies/zeitwerk_integration" + module Rails module Autoloaders # :nodoc: class << self |