Your Ruby CSV Import Ran Successfully — Your Data May Still Be Wrong
ruby
dev.to
Are you sure that Ruby CSV imported all your data — and correctly? 🤔 I wasn't looking for bugs. I was improving the performance of smarter_csv, then added a new round of tests — including some borrowed from Ruby CSV's own test suite as a sanity check. Then I started thinking through error scenarios. What I found was genuinely surprising — which also led me to realize that smarter_csv needed a reliable mechanism for bad row quarantine. I found 10 failure modes in Ruby CSV that produce no exce