Skip to content

Instantly share code, notes, and snippets.

@trobrock
Created May 8, 2014 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trobrock/17cf9db67e30e94e5571 to your computer and use it in GitHub Desktop.
Save trobrock/17cf9db67e30e94e5571 to your computer and use it in GitHub Desktop.
Error while loading route: TypeError: Cannot set property 'store' of undefined
at Ember.Object.extend.modelFor (http://0.0.0.0:8000/js/app.js:64208:23)
at Ember.Object.extend.recordForId (http://0.0.0.0:8000/js/app.js:63661:21)
at deserializeRecordId (http://0.0.0.0:8000/js/app.js:64592:27)
at http://0.0.0.0:8000/js/app.js:64570:11
at http://0.0.0.0:8000/js/app.js:62913:20
at http://0.0.0.0:8000/js/app.js:13556:16
at Object.OrderedSet.forEach (http://0.0.0.0:8000/js/app.js:13399:10)
at Object.Map.forEach (http://0.0.0.0:8000/js/app.js:13554:10)
at Function.Model.reopenClass.eachRelationship (http://0.0.0.0:8000/js/app.js:62912:42)
at normalizeRelationships (http://0.0.0.0:8000/js/app.js:64556:12)
class App.Price extends DS.Model
amount: DS.attr "number"
currency: DS.attr "string"
class App.Product extends DS.Model
name: DS.attr "string"
sku: DS.attr "string"
quantity: DS.attr "string"
unit: DS.attr "number"
price: DS.belongsTo App.Price, embedded: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment