emberjs/data — pull request #359 by lukemelia (2012-08-10 16:09:57+00:00)
Title: Assert that items added to a transaction are instances of DS.Model

This assertion provides a useful error message when attempting to an add an object to a transaction and the object is null, undefined, or not a DS.Model.