file-io
Last updated
Last updated
Things regarding the input and output in a rials application.
Rails has a lot of support built on for handling CSV (both, in- and output), have a look at the .
While importing CSV Files, the most memory-efficient method is to use CSV.foreach()
, which reads the file line per line (see for more information about the performance of importing CSV files).