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 dbaa79f commit 829c436Copy full SHA for 829c436
example_app_generator/no_active_record/config/initializers/zeitwerk.rb
@@ -1,3 +1,3 @@
1
-if Rails.autoloaders.respond_to?(:main)
+if Rails.autoloaders.respond_to?(:main) && Rails.autoloaders.main.respond_to?(:ignore)
2
Rails.autoloaders.main.ignore('lib/rails/generators/in_memory/model/model_generator.rb')
3
end
0 commit comments