search for: skip_blank

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

Did you mean: skip_blanks
2009 Jun 17
12
FasterCVS and Rails
...uot;/ruby/lib/ruby/gems/1.8/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é",,&quot...