staugaard/sproutcore-resource-todos — pull request #2 by hassox (2011-11-09 13:17:10+00:00)
Title: Adds ability to update todos

Hi Mick,

I've added the ability to update the todos in the example app for sc resource tools. One thing I wasn't quite sure of is how check the status on updating (i.e. fetched, unfetched, saving etc) to incorporate these states of the record into the actions available.

Also there was a bug when creating records, where when the data came back from the server, the id attribute wasn't being updated. I manually update it in the done callback when creating, but I'm wondering if there's a built in way that this should happen with the resource?

Cheers
Daniel