Ember-validations, was built to define the validations outside the model, and if you define them on your model, it will cause server-side errors to no longer work correctly (still unsure why).
In this example, we pull the validations off the model, and attach them to our error-wrapper
component.
The solution outlined here allows gives you three benefits:
- Validations are in one place, the model.
- Errors can be added to any input element with relative ease.
- Server-side validations are unaffected.