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 <[email protected]>

>
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to