We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae642bf commit 767236cCopy full SHA for 767236c
lib/forest_liana/engine.rb
@@ -66,7 +66,7 @@ def eager_load_active_record_descendants app
66
ActiveStorage::Attachment
67
end
68
69
- if Rails::VERSION::MAJOR > 5 && defined?(Zeitwerk::Loader)
+ if Rails::VERSION::MAJOR > 5 && Rails.autoloaders.zeitwerk_enabled?
70
Zeitwerk::Loader.eager_load_all
71
else
72
app.eager_load!
0 commit comments