I'm currently using the Salesforce Bulk API within a Rails app to update a custom object in Salesforce. This works fine when I send a single record through, but when I batch in sets of 200, I get many UNABLE TO LOCK ROW errors.
Is there a way to tell the Bulk API to process only one batch at a time? It seems like the processes are running in parallel if there are more than 200 rows to update.
Currently using this gem with Rails: https://github.com/yatish27/salesforce_bulk_api