Fixed mongoid_search to work with mongoid 3.0rc #38

merged 3 commits into from Jun 18, 2012


None yet

2 participants


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


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


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

@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