We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3fa260 commit f0c58c0Copy full SHA for f0c58c0
lib/csv_importer/row.rb
@@ -63,7 +63,7 @@ def set_attribute(model, column, csv_value)
63
when 3 # to: ->(field_value, post, column) { post.hash_field[column.name] = field_value }
64
to_proc.call(csv_value, model, column)
65
else
66
- raise ArgumentError, "`to` proc can only have between 1, 2 or 3 arguments"
+ raise ArgumentError, "`to` proc can only have 1, 2 or 3 arguments"
67
end
68
69
attribute = column_definition.attribute
0 commit comments