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

Add support for mongoid #3

Closed
tonybruess opened this issue Aug 30, 2013 · 4 comments
Closed

Add support for mongoid #3

tonybruess opened this issue Aug 30, 2013 · 4 comments

Comments

@tonybruess
Copy link

Sorry, this may be a bit of a feature request/suggestion, not sure those are allowed.

Mongoid is the most (second most?) popular mongo framework for ruby. It uses its own backend (moped) for talking to mongo as opposed to the official driver.

I spent some time investigating how to time/count moped/mongoid queries but to no avail. If anyone has any insight in to this it would be appreciated.

Framework: https://github.com/mongoid/mongoid
Driver: https://github.com/mongoid/moped

@bartoszkopinski
Copy link

👍

@dewski
Copy link
Member

dewski commented Sep 4, 2013

I like that peek-mongo is strictly collecting data from the official driver. I would recommend cloning this or starting peek-moped and opening a PR in peek/peek to add it once you're ready.

I spent some time investigating how to time/count moped/mongoid queries but to no avail. If anyone has any insight in to this it would be appreciated.

Took a quick peek at moped and your best bet is to start here

@dewski dewski closed this as completed Sep 4, 2013
@tonybruess
Copy link
Author

Thanks for the input @dewski. Mongoid will be changing over to the official mongo driver within the coming weeks, so I don't think a new repo/PR will be necessary.

If anyone's interested, I'll be playing around with moped support on my fork this week.

@nodkz
Copy link

nodkz commented Dec 8, 2013

You can use
https://github.com/nodkz/peek-moped
or gem 'peek-moped' via rubygems.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants