From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-06-07T06:08:07+09:00 Subject: Re: RUBY, CGI and objectts On Sat, 07 Jun 2003 06:35:26 +0900, Steven Ketcham wrote: > > Ok that worked but the code below gives garbage with objects. > Try this: cgi.table do @data.collect do |testObject| cgi.tr do testObject.data.collect do |value| # output is: 10 100 20 200... # puts "#{value}" # output is: #... cgi.td {"#{value}"} end.join end # tr end.join # @data end # table -- Simon Strandgaard