MongoId's any_of like implementation for activerecord