emberjs/data — Issue #98: Should model items with id=0 be valid?
Author: garth
Created: 2012-02-15 17:48:58+00:00
State: open

This line will allways fail when the model `id === 0` since `!!hash[primaryKey]` for `0` will be `false`.... Should an item with an `id === 0` be valid?

```javascript
ember_assert("A data hash was loaded for a model of type " + type.toString() + " but no primary key '" + primaryKey + "' was provided.", !!hash[primaryKey]);
```