{"action":"created","issue":{"url":"https://api.github.com/repos/dockyard/ember-validations/issues/377","labels_url":"https://api.github.com/repos/dockyard/ember-validations/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/dockyard/ember-validations/issues/377/comments","events_url":"https://api.github.com/repos/dockyard/ember-validations/issues/377/events","html_url":"https://github.com/dockyard/ember-validations/issues/377","id":118299158,"number":377,"title":"Undefined log every time I call validate()","user":{"login":"alexismangin","id":4203845,"avatar_url":"https://avatars.githubusercontent.com/u/4203845?v=3","gravatar_id":"","url":"https://api.github.com/users/alexismangin","html_url":"https://github.com/alexismangin","followers_url":"https://api.github.com/users/alexismangin/followers","following_url":"https://api.github.com/users/alexismangin/following{/other_user}","gists_url":"https://api.github.com/users/alexismangin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexismangin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexismangin/subscriptions","organizations_url":"https://api.github.com/users/alexismangin/orgs","repos_url":"https://api.github.com/users/alexismangin/repos","events_url":"https://api.github.com/users/alexismangin/events{/privacy}","received_events_url":"https://api.github.com/users/alexismangin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-22T23:50:40Z","updated_at":"2015-11-24T20:17:29Z","closed_at":null,"body":"Hello,\r\nI found out that every time I call the method `validate`, I get the following error in my console:\r\n\r\n<img width=\"692\" alt=\"screen shot 2015-11-22 at 18 49 47\" src=\"https://cloud.githubusercontent.com/assets/4203845/11327097/d581a58c-9149-11e5-93b6-ce8249d585b0.png\">\r\n\r\nThe `errors` property gets populated correctly with the errors.\r\n\r\nNot sure what is it, but it looks like something that has been missed in the code of ember-validations.\r\n\r\n\r\nMy code is pretty simple:\r\n\r\n```\r\nexport default Controller.extend(EmberValidations, {\r\n\tvalidations: {\r\n\t\t'model.firstName': {\r\n\t\t\tpresence: true\r\n\t\t}\r\n\t},\r\n\r\n\tactions: {\r\n\t\tregisterClick() {\r\n\t\t\tthis.validate();\r\n\t\t}\r\n\t}\r\n}\r\n```\r\nI'm using the version 2.0.0-alpha4\r\n"},"comment":{"url":"https://api.github.com/repos/dockyard/ember-validations/issues/comments/159392984","html_url":"https://github.com/dockyard/ember-validations/issues/377#issuecomment-159392984","issue_url":"https://api.github.com/repos/dockyard/ember-validations/issues/377","id":159392984,"user":{"login":"BananaNeil","id":892252,"avatar_url":"https://avatars.githubusercontent.com/u/892252?v=3","gravatar_id":"","url":"https://api.github.com/users/BananaNeil","html_url":"https://github.com/BananaNeil","followers_url":"https://api.github.com/users/BananaNeil/followers","following_url":"https://api.github.com/users/BananaNeil/following{/other_user}","gists_url":"https://api.github.com/users/BananaNeil/gists{/gist_id}","starred_url":"https://api.github.com/users/BananaNeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BananaNeil/subscriptions","organizations_url":"https://api.github.com/users/BananaNeil/orgs","repos_url":"https://api.github.com/users/BananaNeil/repos","events_url":"https://api.github.com/users/BananaNeil/events{/privacy}","received_events_url":"https://api.github.com/users/BananaNeil/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T20:17:29Z","updated_at":"2015-11-24T20:17:29Z","body":"A fix should definitely go in for this, but for now, can fix your problem by calling\r\n```\r\nthis.validate().then(function(){}).catch(function(){});\r\n```"}}