I'm creating a new user with this:
var transaction = App.store.transaction();
transaction.createRecord(App.User, {
firstName: this.get('firstName'),
lastName: this.get('lastName')
});
transaction.commit();
my server is returning
{"first_name":"Han","last_name":"Solo","id":"19"}
but the newly create User's id is null. Either I'm not returning the right result from the server or there is another step I need to do to assign the new user's id.