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
          May 31, 2018 18:00 
        
      - 
      
- 
        Save viktor-evdokimov/7c20f1f5c1ea9f2a0a85c014d55632c7 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