Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

mongoid instrument only support mongoid 2.x #35

Merged
merged 1 commit into from
Apr 1, 2013

Conversation

arthurnn
Copy link
Contributor

@arthurnn arthurnn commented Apr 1, 2013

Mongoid::Collection was removed in mongoid 3.x, so we should check version of mongoid before adding the instrument

@benweint
Copy link
Contributor

benweint commented Apr 1, 2013

Thanks for the contribution, @arthurnn!

The newrelic_contrib is no longer supported, and there will be no new releases of the gem, but I'll merge this change so that you can point bundler directly at the git repo if you like.

We've been encouraging folks wanting to contribute to newrelic_contrib to build smaller targeted gems adding support for specific frameworks instead, and stevebartholomew has done this for Mongoid 3.x, so if you're looking for support for that, check out https://github.com/stevebartholomew/newrelic_moped.

benweint added a commit that referenced this pull request Apr 1, 2013
mongoid instrument only support mongoid 2.x
@benweint benweint merged commit 2f56a12 into newrelic:master Apr 1, 2013
@benweint benweint mentioned this pull request Apr 1, 2013
@arthurnn arthurnn deleted the mongoid2_ins branch April 2, 2013 01:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants