Skip to content

Commit

Permalink
Workaround bug in newrelic with missing identifier class method
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Sep 30, 2024
1 parent 60d5ba4 commit 5ea0498
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/initializers/newrelic_monkeypatch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# workaround for bug https://github.com/newrelic/newrelic-ruby-agent/issues/2869
class ViewComponent::Base
def self.identifier
source_location
end
end

0 comments on commit 5ea0498

Please sign in to comment.