Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix active record support #161

Merged
merged 3 commits into from
Feb 4, 2021

Conversation

kvokka
Copy link
Contributor

@kvokka kvokka commented Feb 4, 2021

It's much better to rely on gem version than on respond_to?, cos in my case i faced the situation when AR got the method dynamically from other gem and it leads to 💥

This should fix it

Close #160

@SamSaffron SamSaffron merged commit e9511e4 into discourse:master Feb 4, 2021
@SamSaffron
Copy link
Member

looks good, let's try it out!

jobeus pushed a commit to scriptdash/prometheus_exporter that referenced this pull request Dec 16, 2021
* Use released Rails 6.1 for apparisals
* Soften bundler requements
* Fix ActiveRecord instrumentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Fix ActiveRecord instrumentation
2 participants