From: Dot Baiki Date: 2011-01-11T11:17:05+09:00 Subject: Re: FasterCSV.foreach loop 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]) However, thanks anyway :-) Baiki -- Posted via http://www.ruby-forum.com/.