{"action":"closed","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/12653","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/12653/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/12653/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/12653/events","html_url":"https://github.com/emberjs/ember.js/issues/12653","id":119090193,"number":12653,"title":"Model Adapter not being called","user":{"login":"MohamadAtieh","id":6419274,"avatar_url":"https://avatars.githubusercontent.com/u/6419274?v=3","gravatar_id":"","url":"https://api.github.com/users/MohamadAtieh","html_url":"https://github.com/MohamadAtieh","followers_url":"https://api.github.com/users/MohamadAtieh/followers","following_url":"https://api.github.com/users/MohamadAtieh/following{/other_user}","gists_url":"https://api.github.com/users/MohamadAtieh/gists{/gist_id}","starred_url":"https://api.github.com/users/MohamadAtieh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohamadAtieh/subscriptions","organizations_url":"https://api.github.com/users/MohamadAtieh/orgs","repos_url":"https://api.github.com/users/MohamadAtieh/repos","events_url":"https://api.github.com/users/MohamadAtieh/events{/privacy}","received_events_url":"https://api.github.com/users/MohamadAtieh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-26T18:34:53Z","updated_at":"2015-11-26T18:42:11Z","closed_at":"2015-11-26T18:42:11Z","body":"I have this adapter for one of my models. For some reason, when I call `findRecord` on it, it ignored the buildURL (the whole method), and goes for the regular GET path `{model}/{id}` (ignored the whole adapter). In fact, non of the store methods are being called. \r\n\r\n```javascript\r\nimport ApplicationAdapter from './application';\r\nexport default ApplicationAdapter.extend({\r\n\tpathForType: function(type){\r\n\t\treturn type;\r\n\t},\r\n\tbuildUrl: function(modelName, id, snapshot, requestType, query){\r\n\t\tconsole.log(\"Request Type: \" + modelName + \" \" + requestType);\r\n\t\tif(requestType === 'findRecord'){\r\n\t\t\treturn 'investor/'+id+'/'+this.pathForType(modelName);\r\n\t\t}\r\n\t\treturn this._super(modelName, id, snapshot, requestType, query); \r\n\t}\r\n});\r\n```\r\nI first noticed this issue when I was trying `RSVP.hash()` in a route that was already working. My previous call was working with RSVP, but not this one, so the promise fails. I tried calling it on its own and I also tried to create a new model called it `person` with its route and adapter. No luck. \r\n\r\nI also tried to mock using Mirage, but it is still ignoring my `adapter`.\r\n\r\nThe model I am trying to obtain has no route, and I don't think it is necessary in this case. This is driving me crazy as I am trying to do similar things as before. \r\n\r\nAny help would be great"}}