{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/2656","labels_url":"https://api.github.com/repos/emberjs/data/issues/2656/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/2656/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/2656/events","html_url":"https://github.com/emberjs/data/issues/2656","id":53251759,"number":2656,"title":"ember-data#1.0.0-beta.14.1 self.store is undefined","user":{"login":"zyllorion","id":10155785,"avatar_url":"https://avatars.githubusercontent.com/u/10155785?v=3","gravatar_id":"","url":"https://api.github.com/users/zyllorion","html_url":"https://github.com/zyllorion","followers_url":"https://api.github.com/users/zyllorion/followers","following_url":"https://api.github.com/users/zyllorion/following{/other_user}","gists_url":"https://api.github.com/users/zyllorion/gists{/gist_id}","starred_url":"https://api.github.com/users/zyllorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyllorion/subscriptions","organizations_url":"https://api.github.com/users/zyllorion/orgs","repos_url":"https://api.github.com/users/zyllorion/repos","events_url":"https://api.github.com/users/zyllorion/events{/privacy}","received_events_url":"https://api.github.com/users/zyllorion/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-02T13:08:00Z","updated_at":"2015-01-05T12:14:18Z","closed_at":"2015-01-05T12:14:18Z","body":"ember#canary\r\nember-cli#0.1.5\r\n\r\nWhen setting up the model in the route, the store seems to be unavailable - \"self.store is undefined\" in FF, \"Cannot read property 'find' of undefined\" in Chrome.  The best I can tell this is caused by ember-data beta 14 but I'm unable to revert to beta 12 to check right now.  This all worked fine with ember-cli 0.1.4, ember data beta 12 and ember 1.9.0.  Cache has been cleared, bower_components and node_modules rebuilt.\r\n```\r\nmodel: function(params) {\r\nvar self = this;\r\nreturn new Ember.RSVP.Promise(function(resolve) {\r\nnew Ember.RSVP.hash({\r\nmyModelName: self.store.find('the-model-name', params.some_id),\r\nnextModel...\r\n```\r\n\r\nThis is also referenced with older versions that worked fine for me [here](http://stackoverflow.com/questions/27597790/ember-not-initializing-store-properly-cannot-read-property-find-of-undefined)."},"comment":{"url":"https://api.github.com/repos/emberjs/data/issues/comments/68700476","html_url":"https://github.com/emberjs/data/issues/2656#issuecomment-68700476","issue_url":"https://api.github.com/repos/emberjs/data/issues/2656","id":68700476,"user":{"login":"zyllorion","id":10155785,"avatar_url":"https://avatars.githubusercontent.com/u/10155785?v=3","gravatar_id":"","url":"https://api.github.com/users/zyllorion","html_url":"https://github.com/zyllorion","followers_url":"https://api.github.com/users/zyllorion/followers","following_url":"https://api.github.com/users/zyllorion/following{/other_user}","gists_url":"https://api.github.com/users/zyllorion/gists{/gist_id}","starred_url":"https://api.github.com/users/zyllorion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyllorion/subscriptions","organizations_url":"https://api.github.com/users/zyllorion/orgs","repos_url":"https://api.github.com/users/zyllorion/repos","events_url":"https://api.github.com/users/zyllorion/events{/privacy}","received_events_url":"https://api.github.com/users/zyllorion/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T12:14:18Z","updated_at":"2015-01-05T12:14:18Z","body":"Thanks for looking.  Seems to be fixed in latest canary ember/dependencies, closing."}}