From 03293ef68db2fabfec61d04d8c3df5d8c4141222 Mon Sep 17 00:00:00 2001 From: Peter Solnica Date: Thu, 17 Oct 2024 12:13:28 +0200 Subject: [PATCH] [rails] disable eager loading in make_basic_app (#2434) --- sentry-rails/spec/dummy/test_rails_app/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry-rails/spec/dummy/test_rails_app/app.rb b/sentry-rails/spec/dummy/test_rails_app/app.rb index 95309fbaa..7b7e926ba 100644 --- a/sentry-rails/spec/dummy/test_rails_app/app.rb +++ b/sentry-rails/spec/dummy/test_rails_app/app.rb @@ -56,7 +56,7 @@ def self.name app.config.hosts = nil app.config.secret_key_base = "test" app.config.logger = ActiveSupport::Logger.new(nil) - app.config.eager_load = true + app.config.eager_load = false app.config.active_job.queue_adapter = :test # Eager load namespaces can be accumulated after repeated initializations and make initialization