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

Fixed mongoid_search to work with mongoid 3.0rc #38

Merged
merged 3 commits into from Jun 18, 2012

Conversation

ggennrich
Copy link
Contributor

The current version of mongoid_search breaks with mongoid 3.0rc because mongoid changed the indexing syntax. I have fixed the syntax to work with mongoid 3.0rc

@mauriciozaffari
Copy link
Collaborator

Won't this break it with mongoid <= 2.x.x ?

@ggennrich
Copy link
Contributor Author

Good point. Updated to use correct syntax based on the gem version number. Probably a cleaner way to do it.

mauriciozaffari added a commit that referenced this pull request Jun 18, 2012
Fixed mongoid_search to work with mongoid 3.0rc
@mauriciozaffari mauriciozaffari merged commit 61cebb0 into mongoid:master Jun 18, 2012
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.

None yet

2 participants