aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2019-04-07 12:30:34 +0200
committerXavier Noria <fxn@hashref.com>2019-04-07 13:05:26 +0200
commit57c7cbb1623c0e8befc58988a34bbb9896fd226a (patch)
tree56160343a026cd0fc0bf7e64c988b6937c224aed /railties/lib/rails
parentc9e4c848eeeb8999b778fa1ae52185ca5537fffe (diff)
downloadrails-57c7cbb1623c0e8befc58988a34bbb9896fd226a.tar.gz
rails-57c7cbb1623c0e8befc58988a34bbb9896fd226a.tar.bz2
rails-57c7cbb1623c0e8befc58988a34bbb9896fd226a.zip
depend on Zeitwerk 2
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/application/finisher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb
index 8d2c13d2a8..1cf44a480c 100644
--- a/railties/lib/rails/application/finisher.rb
+++ b/railties/lib/rails/application/finisher.rb
@@ -24,7 +24,7 @@ module Rails
initializer :let_zeitwerk_take_over do
if config.autoloader == :zeitwerk
require "active_support/dependencies/zeitwerk_integration"
- ActiveSupport::Dependencies::ZeitwerkIntegration.take_over
+ ActiveSupport::Dependencies::ZeitwerkIntegration.take_over(enable_reloading: !config.cache_classes)
end
end