dockyard/ember-easyForm — pull request #18 by delwyn (2013-04-19 21:07:31+00:00)
Title: Ember Data Errors

When using the latest ember-data and latest easyForm, both built from master, I get the following error:

Uncaught TypeError: Cannot call method 'get' of null ember-easyForm.js:305

EasyForm checks if errors is undefined but DS.Model is initialised with errors as null.

DS.Model = Ember.Object.extend(Ember.Evented, LoadPromise, {
...
errors: null,
...
});

Checking if errors is truthy seems to solve the issue for me and all tests still pass. Not sure how this will affect ember-validations.

#14