At startup I am loading a few models with JSON that is bootstrapped into my initial page load, so e.g. App.Model.load(modelJson).
Now later on in a routes model hook, I do App.Model.find(), I expected this to return an array of instantiated App.Model instances using the data which was previously sideloaded. Instead it does an Ajax call to retrieve the data.
Another thing is, if I use App.Model.find(1).. it does return a model instance from sideloaded data, rather than try to retrieve from the server.
At startup I am loading a few models with JSON that is bootstrapped into my initial page load, so e.g.
App.Model.load(modelJson).Now later on in a routes model hook, I do
App.Model.find(), I expected this to return an array of instantiated App.Model instances using the data which was previously sideloaded. Instead it does an Ajax call to retrieve the data.Another thing is, if I use
App.Model.find(1).. it does return a model instance from sideloaded data, rather than try to retrieve from the server.