Removed Mongoid 3.0 dependency