cleardeprecated
Removes all error messages and sends becameValid
event to the record.
Example:
app/routes/user/edit.js
import Ember from 'ember'; export default Ember.Route.extend({ actions: { retrySave: function(user) { user.get('errors').clear(); user.save(); } } });
Please login to continue.