emberjs/data — pull request #879 by pangratz (2013-04-12 10:02:56+00:00)
Title: Allow options.defaultValue of DS.attr to be a function

This change allows the defaultValue defined for a DS.attr to be a
function, so it is possible to do something like this:

```
User = DS.Model.extend({
createdAt: DS.attr("date", {
defaultValue: function() {
return (new Date());
}
})
});
```