Forum: Ruby on Rails FasterCSV won't accept :headers option

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Milan D. (Guest)
on 2009-05-21 13:13
When I pass :headers => true to FasterCSV.foreach it complains. Without
it it works. Am I doing something wrong?

FasterCSV.foreach(file, {:row_sep => :auto, :col_sep => "\t",
:quote_char => "~", :return_headers => false,
:headers => true}) do |row|
This topic is locked and can not be replied to.