DS.Model states


#1

How can I manually manage the state of instances of DS.Model ? I need to manually perform create query via Ember..ajax** (to be more correct, wrapper of this with Ember.run) , but I have record created via **store.createRecord()**, so I need to deserialize this record, post json to API, and in **then** of **Ember..ajax set an id of newly created record and change state of this record to loaded.saved (or whatever matches: loaded.updated.inFlight, maybe). I’m using ember data 1.0.0-beta.7+canary.b45e23ba. Regards.