I am implementing in Ruby and i am running a project which reads a CSV file to add users.
but when i pick my file it just gives always the same error:
FasterCSV::MalformedCSVError in User importController#match
Illegal quoting on line 1.
my CSV file just exists of :
"RubenPersoon1","test","Bauwens","Ruben","[email protected]",0
anyone who knows what can be wrong?
Try to upgrade your FasterCSV gem version. With the latest version it works:
Also, keep in mind that if you are on Ruby 1.9.2,
FasterCSVis already included. Justrequire 'csv'and use theCSVclass.