# File lib/mongoid/contexts/enumerable.rb, line 114 def group field = field_list.first execute.group_by { |doc| doc.send(field) } end