I have a CSV like this for example:
ACCOUNT:STATUS:FIRST_NAME:LAST_NAME
12345:1:My "Problematic" Name:Last Name
If I use CSV.foreach I get message: Illegal quoting in line 2
How can I handle this correctly and still preserve quotation marks in the string that I read?
My current code:
CSV.foreach("accounts_data.csv", { :col_sep => ':', headers: true } ) do |account|
end