search for: csv_file_nam

Displaying 1 result from an estimated 1 matches for "csv_file_nam".

Did you mean: csv_file_name
2009 Jun 17
12
FasterCVS and Rails
.../gems/fastercsv-1.2.3/lib/faster_csv.rb:1592:in `shift''" I''ve tested the same code outside of the Rails application an it works fine. Can anyone help me? Here is the code: csv_options = { :headers => false, :return_headers => false, :skip_blanks => false } csv_file_name = File.dirname(__FILE__) + "/../../Files.TXT" data = "" FasterCSV.foreach(csv_file_name, csv_options) do |row| data << row.to_s + "<br>" end And the first two lines in the file: "20.1","Maria José",,"9" "10.2",&qu...