Fixing support for mongoid 2