and this code goes off to the server to fetch that photo because I am using a RESTAdapter…
Should I expect that photo to be pushed into the store? As in - when I go into the ember tab in chrome and navigate to Data - should I expect to see it there?
Basically - as you can probably guess - I cannot. I am stumped however as it used to work like this I am pretty sure.
Yes, you should see a record in the Ember Inspector after that code executes. It sounds like maybe the format of the JSON coming from your back end might not be what Ember Data is expecting. Compare what your server is sending back with what you can generate here: EmberDataModelMaker and look for any discrepancies.
I guess I’m confused: you’re saying that the data loads, and the record displays on screen, but there’s nothing in the Ember Inspector? Is there anything at all in the Ember Inspector (View Tree, Routes, etc)?
Yeah - I have no idea what the hell is causing that - has anyone seen that before?
I am definitely not creating more than one application:
So it’s not that
It is failing in Setup()
At this line:
Ember.assert(fmt('You cannot use the same root element (%@) multiple times in an Ember.Application', [rootElement.selector || rootElement[0].tagName]), !rootElement.is('.ember-application'));
So it is saying that before it can run setup it has already been setup… and setting a breakpoint here does indeed break twice… What would be causing that? The run loop makes it hard to see where these calls are coming from