Use mongoid config 6
Use Ruby 1.9.3
Add criteria info, fix logic error