Open sydekumf opened 10 years ago
You are using Ember data, and I'm not sure this library works with the latests versions. I've sadly no time to work on it now, so feel free to submit a PR if you want to go deeper.
You can also take a look at dockyard/ember-validations which is pretty cool, and the project owner seems to have more time to work on it than me :(
Unfortunately I couldn't create a working example with your tutorial because
Ember.Object.extend
does not work, is it outdated?So I have the following:
My Controller which handles the user object which is created by user input (form elements):
At that moment I get the error:
Uncaught TypeError: Object [object Object] has no method 'validate'
What have I done wrong? Bug? Thx for help.For your information, why
Ember.Object.extend
does not work, I get the following error then: