Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2539e4ddab
@ -31,7 +31,10 @@ module ActsAsCsvImport::Hook
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
n.save
|
if n.save
|
||||||
|
else
|
||||||
|
puts n.errors.messages
|
||||||
|
end
|
||||||
|
|
||||||
import_csv.import_csv_elements << ImportCsvElement.new(:element => n)
|
import_csv.import_csv_elements << ImportCsvElement.new(:element => n)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user