Closed sescobb27 closed 9 years ago
https://github.com/emberjs/data/pull/3262 try to fix it for similar issue
@sescobb27 This PR by @davidstevens37 should solve this issue. (Thank you @davidstevens37 )
@sescobb27 Could you confirm it pls. Thank you!
in
store.recordWasInvalid(this, errors);
throws an errorUncaught TypeError: internalModel.adapterDidInvalidate is not a function
.reading the source code of ember-data I found this
I think you should not call that method manually, instead make something like this: https://github.com/dockyard/ember-validations/blob/master/addon/validators/local/inclusion.js#L23