mongoid >= 3.0