Using ember-resource with couchdb - how can i save my documents?
- by Thomas Herrmann
I am implementing an application using ember.js and couchdb. I choose ember-resource as database access layer because it nicely supports nested JSON documents.
Since couchdb uses the attribute _rev for optimistic locking in every document, this attribute has to be updated in my application after saving the data to the couchdb.
My idea to…