标签: ruby-on-rails ruby-on-rails-5 ruby-csv
导入csv时我面临此问题
`def self.import(file) binding.pry CSV.new(file.path, headers: true) do |row| puts "upload" end end`