title: Best way to read CSV in Ruby. FasterCSV?
body: <p>I have a CSV file that I want to read with Ruby and create Ruby objects to insert into a MySQL database with Active Record. What's the best way to do this? I see two clear options: <a href="http://fastercsv.rubyforge.org/" rel="nofollow">FasterCSV</a> &amp; the <a href="http://ruby-doc.org/core/classes/CSV.html" rel="nofollow">Ruby core CSV</a>. Which is better? Is there a better option that I'm missing?</p>
  
  <p>EDIT: Gareth says to use FasterCSV, so what's the best way to read a CSV file using FasterCSV? Looking at the documentation, I see methods called <code>parse</code>, <code>foreach</code>, <code>read</code>, <code>open</code>... It says that <code>foreach</code> "is intended as the primary interface for reading CSV files." So, I guess I should use that one?</p>