Skip to content

Conversation

@phoffer
Copy link

@phoffer phoffer commented Jun 15, 2012

from regex to checking what constants are defined: Moped for 3.x, and Mongo for 2.x

@maximeg
Copy link
Owner

maximeg commented Jun 15, 2012

I thought about this way, but i saw that some folks wanted to be able to use Mongo (the official ruby driver from 10gen) with Mongoid 3.

I'll investigate this further later.

@phoffer
Copy link
Author

phoffer commented Jun 15, 2012

I don't believe it is possible to use Moped with 2.x, so you could possibly use !mongoid3 to for the 2.x check. I'm not completely sure about that though.

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

Successfully merging this pull request may close these issues.

2 participants