SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using rails you can also use in_groups_of:
foo.in_groups_of(3)