Joe Cairns wrote:
> Hi,
> 
> I have a fastcsv collection (2d array) that I want to display as a
> table.  I figured the best way would be a helper function, and build
> the table dynamically.

The best way would probably be to use a couple of nested partials -- one 
for the table as a whole calling one for each row.  That way, you don't 
have to use the awkward syntax of nested content_tags.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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