From: Brian Candler Date: 2010-02-15T23:30:48+09:00 Subject: Re: Skipping headers in FasterCSV John Mcleod wrote: > I guess what I'm asking is... > How do I imput csv data regardless what the database table column's > titles are? Try using Row#fields # This method accepts any number of arguments which can be headers, indices, # Ranges of either, or two-element Arrays containing a header and offset. # Each argument will be replaced with a field lookup as described in # FasterCSV::Row.field(). Should be something like this: .... do |row| puts row.fields(0,1,2,3,4,5) end -- Posted via http://www.ruby-forum.com/.