I am using smarter_csv gem to parse a large CSV file on Heroku.
SmarterCSV.process(file_name, { chunk_size: 10, headers_in_file: false, user_provided_headers: user_provided_headers }) do |chunk| chunk.each do |row| # parse row endend
Is there any way to check if the row is the last line?