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
Fix mongoid_search indexing to work with new syntax in mongoid 3.0rc
Won't this break it with mongoid <= 2.x.x ?
check for the version of mongoid to determine index syntax type
add missing parenthesis
Good point. Updated to use correct syntax based on the gem version number. Probably a cleaner way to do it.