![]() While testing in the wild I spotted a few problems with it: * it didn't work for camel case names. * it was sometimes setting loaded data too late - it needed to use find and then save data on the record. Instead it should save data in special array saved on store, indexed by clientId * there is already method to get attributes in ember-data, it just doesn't work with Travis.Foo.get('attributes'), it needs Ember.get(Travis.Foo, 'attributes') - it makes implementation much shorter |
||
---|---|---|
.. | ||
incomplete_spec.coffee | ||
job_spec.coffee |