Bulk Rails API
A couple of months ago, I saw a gist from DHH about bulk API actions, and tonight I was thinking about how it differs from the CouchDB Bulk Document API. One difference between the two is that in DHH’s gist they’re split up into create, update, and destroy, while in CouchDB, a document is created, updated, or deleted based on the _id, _deleted, and _rev keys.
After some googling I found bulk_api, which is a plugin for Rails that adds a bulk API that is more like the CouchDB API than the API in DHH’s gist. There is an example for bulk_api, too.
Short URL for this post: http://tmblr.co/ZrpDay6pWwCb