app/jobs/bulkrax/delete_job.rb in bulkrax-5.0.0 vs app/jobs/bulkrax/delete_job.rb in bulkrax-5.1.0
- old
+ new
@@ -11,10 +11,10 @@
ImporterRun.find(importer_run.id).increment!(:deleted_records)
ImporterRun.find(importer_run.id).decrement!(:enqueued_records)
entry.save!
entry.importer.current_run = ImporterRun.find(importer_run.id)
entry.importer.record_status
- entry.status_info("Deleted", ImporterRun.find(importer_run.id))
+ entry.set_status_info("Deleted", ImporterRun.find(importer_run.id))
end
# rubocop:enable Rails/SkipsModelValidations
end
end