nl_tokens: The ActiveModelAdapter overrides the ajaxError method to return a DS . InvalidError for all 422 Unprocessable Entity responses .
pl_tokens: function ( jqXHR ) { var error = this . _super ( jqXHR ) ; if ( jqXHR && jqXHR . status === 422 ) { var jsonErrors = Ember . $ . parseJSON ( jqXHR . responseText ) [ "errors" ] , errors = { } ; forEach ( Ember . keys ( jsonErrors ) , function ( key ) { errors [ Ember . String . camelize ( key ) ] = jsonErrors [ key ] ; } ) ; return <mask> DS . InvalidError ( errors ) ; } else { return error ; } }