Re: Making a simple table grid

Shai Shefer
Wed, 06 Jun 2007 16:46:37 -0000

Neil Hoyne wrote:
> I searched around the forums for an answer to this question, but most
> seemed to deal with structures and functionality that are a little
> farther beyond what I am looking for.
>
> Given that a data set (say, @results), how would you display those
> results in a simple grid that is 5 items across and as many down as it
> needs to be.
>
> Thanks in advance for help with what seems to be an elusive but simple
> question. :)

Sounds like you want in_groups_of.

See this thread for more info:

http://www.ruby-forum.com/topic/73779#108452

--
Posted via http://www.ruby-forum.com/.