Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove Poll scope ignore pattern from Logster config

David Taylor86505dd39451
diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rb
index a1a32e9d134..951a48c3378 100644
--- a/config/initializers/100-logster.rb
+++ b/config/initializers/100-logster.rb
@@ -73,14 +73,6 @@ if Rails.env.production?
# we handle this cleanly in the message bus middleware
# no point logging to logster
/RateLimiter::LimitExceeded.*/m,
-
- # see https://github.com/rails/rails/issues/34599
- # Poll defines an enum with the value `open` ActiveRecord then attempts
- # AR then warns cause #open is being redefined, it is already defined
- # privately in Kernel per: http://ruby-doc.org/core-2.5.3/Kernel.html#method-i-open
- # Once the rails issue is fixed we can stop this error suppression and stop defining
- # scopes for the enums
- /^Creating scope :open\. Overwriting existing method Poll\.open\./,
]
Logster.config.env_expandable_keys.push(:hostname, :problem_db)
end