lib/blackbook/importer/csv.rb in rakutenusa-blackbook-1.0.17 vs lib/blackbook/importer/csv.rb in rakutenusa-blackbook-1.0.18
- old
+ new
@@ -57,10 +57,10 @@
if tags.first =~ /^e.?mail/i # E-mail or Email
tags.shift
columns << :email
end
end
- tags.each{|v| columns << v.strip.to_sym}
+ tags.each{|v| columns << v.gsub(/\0/,"").strip.to_sym}
columns
end
def pattern
@pattern ||= (options[:pattern] || DEFAULT_PATTERN) rescue DEFAULT_PATTERN