How do I find() all records unique in certain fields?
Try Rails uniq_by.It also works with association and returns array.
@document = Model.uniq_by(&:field)
More Detail
Games.find(
:all, :limit => 5,
:include => [:games, :requests],
:group => 'games, whatever, whatever_else'
)