diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2019-03-08 16:48:52 +0100 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2019-03-08 17:31:29 +0100 |
commit | 6d624f2de94623b4e94375edb882ae0ccfc0cb88 (patch) | |
tree | 8f3679839ebdcf5780f7abf68a82c90d0298fdcc /activesupport | |
parent | 199de6bee261dd816b68c841c7775fdcd02b68d2 (diff) | |
download | rails-6d624f2de94623b4e94375edb882ae0ccfc0cb88.tar.gz rails-6d624f2de94623b4e94375edb882ae0ccfc0cb88.tar.bz2 rails-6d624f2de94623b4e94375edb882ae0ccfc0cb88.zip |
Allow autoloader inflectors to be swaped out
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/dependencies/zeitwerk_integration.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/dependencies/zeitwerk_integration.rb b/activesupport/lib/active_support/dependencies/zeitwerk_integration.rb index ca4385b7c2..1e697e1ba5 100644 --- a/activesupport/lib/active_support/dependencies/zeitwerk_integration.rb +++ b/activesupport/lib/active_support/dependencies/zeitwerk_integration.rb @@ -55,10 +55,6 @@ module ActiveSupport private def setup_autoloaders - Rails.autoloaders.each do |autoloader| - autoloader.inflector = Inflector - end - Dependencies.autoload_paths.each do |autoload_path| # Zeitwerk only accepts existing directories in `push_dir` to # prevent misconfigurations. |