diff --git a/config/initializers/newrelic_monkeypatch.rb b/config/initializers/newrelic_monkeypatch.rb new file mode 100644 index 00000000..250db74a --- /dev/null +++ b/config/initializers/newrelic_monkeypatch.rb @@ -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