mirror of https://github.com/rails/rails
Revert "Don't enable Zeitwerk on MRI in 6.1 load_defaults"
This reverts commit379db92364
. Reason:94ba417ece (r41923157)
This commit is contained in:
parent
d9129512e9
commit
154ee7b4b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue