Re: How to create a two dimensional table

Colin Law
2009-01-15T09:21:10Z

I would suggest building a two dimensional array @values[][] in the
controller, iterating through the records and filling in the cells. This can
then be displayed as rows and columns in the view. I suspect there may be
more elegant ways to do this in Ruby however.
Colin

2009/1/15 Valentino Lun
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>

>
> Dear all
>
> Would you give me some hints on this? I don''t know how to do...
>
> Thank you.
>
> Valentino
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org