Revert "Don't enable Zeitwerk on MRI in 6.1 load_defaults"

This reverts commit 379db92364.

Reason: 94ba417ece (r41923157)
This commit is contained in:
Ryuta Kamizono 2020-10-25 15:51:36 +09:00
parent d9129512e9
commit 154ee7b4b0
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ module Rails
when "6.1"
load_defaults "6.0"
self.autoloader = :zeitwerk if RUBY_ENGINE == "truffleruby"
self.autoloader = :zeitwerk if %w[ruby truffleruby].include?(RUBY_ENGINE)
if respond_to?(:active_record)
active_record.has_many_inversing = true