lucian1900/Backbone.dualStorage — pull request #36 by amuino (2013-05-24 17:43:24+00:00)
Title: Update local with remote response

When updating a dirty model, the response from the server is currently discarded.

The default Backbone behavior is to update the model with the server data, so dualStorage is breaking the contract of Backbone by assuming that the best version is always the local one.

In our use case, we send a composite object which might need to persist new components and get their id back from the server. Several other situations are possible.