In a situation like so:
FasterCSV.parse(uploaded_file) do |row|
@rows[i] = row
i += 1
break row if i == 10
end
Does FasterCSV read the entire file, or just the first 10 rows? I want to display the first couple lines of a CSV file, but don't want to store the entire file in memory. Is this possible?