diff options
Diffstat (limited to 'app/models/import.rb')
-rw-r--r-- | app/models/import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/import.rb b/app/models/import.rb index 3244b13e2..61b3553f3 100644 --- a/app/models/import.rb +++ b/app/models/import.rb @@ -248,7 +248,7 @@ class Import < ActiveRecord::Base wrapper = settings['wrapper'].to_s csv_options[:quote_char] = wrapper if wrapper.size == 1 - CSV.foreach(filepath, csv_options) do |row| + CSV.foreach(filepath, **csv_options) do |row| yield row if block_given? end end |