From: James Edward Gray II Date: 2011-01-11T12:15:25+09:00 Subject: Re: FasterCSV.foreach loop On Jan 10, 2011, at 8:17 PM, Dot Baiki wrote: > Hello again, > > I know it's not your problem/software but maybe you see the mistake I > made here: > > report = ODFReport::Report.new('gorilla.odt') do |r| > r.add_field :employees_name, employees_name > r.add_field :employees_id, employees_records[0][:id] > r.add_field :employees_month_of_payment, employees_month_of_payment > i = -1 > r.add_table('table_time_details', employees_records) do |t| > i += 1 > t.add_column(:employees_date, employees_records[i][:date]) > end > > r.add_field :employees_monthly_total, employees_monthly_total > r.add_field :software_name, software_name > r.add_field :version, version > end > > Seems like this line is the problem: t.add_column(:employees_date, > employees_records[i][:date]) Sorry, I don't know what ODFReport is. James Edward Gray II