It won't work with Mongoid, I guess. You need to check for the ORM.