Forum: Ruby on Rails Is there a better way to do this (SQL groups)?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
John S. (Guest)
on 2009-03-11 10:06
I have a Task model and a Category model with belongs_to and has_many.
What I want is to get from de DB the tasks in groups of categories and
each one of this groups with a maximum of 5 tasks. Later, I want to show
this in tables; each table will be a group.
This topic is locked and can not be replied to.