{"action":"opened","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4707","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4707/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4707/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4707/events","html_url":"https://github.com/sequelize/sequelize/issues/4707","id":112787998,"number":4707,"title":"Unhandled rejection RangeError: Maximum call stack size exceeded     at sequelize.define.classMethods.create","user":{"login":"amangupta26","id":11567326,"avatar_url":"https://avatars.githubusercontent.com/u/11567326?v=3","gravatar_id":"","url":"https://api.github.com/users/amangupta26","html_url":"https://github.com/amangupta26","followers_url":"https://api.github.com/users/amangupta26/followers","following_url":"https://api.github.com/users/amangupta26/following{/other_user}","gists_url":"https://api.github.com/users/amangupta26/gists{/gist_id}","starred_url":"https://api.github.com/users/amangupta26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amangupta26/subscriptions","organizations_url":"https://api.github.com/users/amangupta26/orgs","repos_url":"https://api.github.com/users/amangupta26/repos","events_url":"https://api.github.com/users/amangupta26/events{/privacy}","received_events_url":"https://api.github.com/users/amangupta26/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-22T11:56:55Z","updated_at":"2015-10-22T11:56:55Z","closed_at":null,"body":"If ClassMethod name is given \"create\" in 'sequelize.define' and if we are calling 'create' method for that model then the following error is thrown:\r\n```\r\nUnhandled rejection RangeError: Maximum call stack size exceeded     \r\nat sequelize.define.classMethods.create (filename.js:48:24)\r\nat sequelize.define.classMethods.create (filename.js:48:24)\r\nat sequelize.define.classMethods.create (filename.js:48:24)\r\n.\r\n.\r\n.\r\n```\r\n\r\nEg: \r\n```javascript\r\nclassMethods : {\r\n  create : function(obj){\r\n    return this.create(obj).then(function(data){\r\n      return data;\r\n    });\r\n  }\r\n}\r\n```"}}