From: Mark Toth Date: 2007-12-29T01:35:02+09:00 Subject: Re: FasterCSV and " char question Thanks for your answer. It should be very easy to import this file. The columns are separated with TAB and the lines with \n . I have changed my code to the following, but not working... (I卒m a newbie): file.split("\n").each do |line| line.split("\t").each do |row| next if row.empty? a_product = Product.new( :sku => row[0] , :name => row[1] , :price => row[2] , :salestart => row[3] , :saleend => row[4] , :category => row[5] , :manufacturer => row[6] , :manufacturersku => row[7] , :othersku => row[8] , :producturl => row[9] , :stockstatus => row[10] , :shipping => row[11]) a_product.save end end Any idea? -- Posted via http://www.ruby-forum.com/.