shouldBackgroundReloadRecord and snapshot.record.get("isNew")


We have an adapter for CouchDB and I came into an issue. Ember-Data is background reloading new records that haven’t been saved yet. This results in a 404 from CouchDB. Is there ever a case to do this? Should the logic be somewhere else for this? Here is my function currently.

shouldBackgroundReloadRecord: function (store, snapshot) { // We don’t ever want to background reload a new record do we? return !snapshot.record.get(“isNew”); }