`#in_groups_of` will cause the entire result set to be retrieved from MongoDB. That's fine for small collections, but not for large collections.