sproutcore/sproutcore — pull request #776 by publickeating (2012-05-09 22:21:37+00:00)
Title: Fixes most of the failing unit tests from previous commit that maps defaultValue record attribute on create record.

Fixes issue applying defaultValue for properties not passed in the hash to SC.Store createRecord(), when the defaultValue is a function.

- Since the defaultValue may be a function and may rely on the `record` argument, we have to materialize the record before calculating default values.