Ember Data Save method, Create vs update
问题 I can't figure out how Ember determines if it should update or create a record. I would assume its based on the ID or on the Store entry, but it seems to be something else. The code example clarifies: // this returns the user without making an api call currentUser.get('store').find('user_detail', '49') // this returns 49 currentUser.get('id') // this returns true currentUser.get('store').hasRecordForId('user_detail', 49) // this issues a create to api/userDetails instead // of updating /api