Turning csv file read to a rails app