Implemented Mongoid query methods with membership type