require 'csv'
require 'open-uri'
csv_text = open('http://www.vvv.hh.yyy.ggg/~hhhh/uuuu.csv')
csv = CSV.parse(csv_text, :headers=>true)
csv.each do |row|
puts row
end
Forked from wrburgess/import_and_parse_remote_csv_rails.md
Created
November 21, 2019 09:51
-
-
Save omedale/b3d49d9b5496fe5b82e8b29c12628aed to your computer and use it in GitHub Desktop.
Import and parse remote csv with Rails
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment