maccman/spine — Issue #198: Spine ignores id returned by server
Author: gr2m
Created: 2012-02-04 10:49:13+00:00
State: open

In the (docs)[http://spinejs.com/docs/ajax], it says:

Notice the ID change; the server has substituted the client-side generated ID with its own. Spine takes this all into account, and will refer to the record by its server-side ID in the future

But when I test it with your rails3 example app, I get this:

```JavaScript
page = new App.Page
page.name = "test test"
page.save()
console.log(page.id)
=> B3D6FFAC-8425-4662-9E7C-023C67E32B5A

// wait AJAX to finish
console.log(page.id)
=> B3D6FFAC-8425-4662-9E7C-023C67E32B5A

// FAIL: id doesn't change to server response
```

Did the specification change or is this a bug?