I'm trying to set default types in an Ember Model, but only some types work:
createdDate: DS.attr('date', {defaultValue: new Date()}) // Works
createdDate: DS.attr('boolean', {defaultValue: false}) // Works
createdDate: DS.attr('string', {defaultValue: "example"}) // Doesn't work - attribute null
createdDate: DS.attr('number', {defaultValue: 99}) // Doesn't work - attribute null
What am I missing?