Find that includes :group and :order or :distinct

Hi forum,
The situation is that I have a table called nextactions with:
id, name, project_id, position
So each nextaction belongs to a project and each project have many
NextActions.
I was just wondering if with just one find sentence I can retrieve all
the nextactions with the lower position and just one nextaction
belonging to one project.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs