Uncaught TypeError: Cannot read property 'modelFor' of undefined


I know this is probably bad form but I’d really like some help with an Ember Data issue I have. See the stack overflow link below:

If anyone has any suggestions I’d be grateful.



I have managed to fix the problem by re-installing ember-cli and ember-data. I assume something went awry during the upgrade process recently when I went from version 1.12.0 to 1.13.0 and ember-data 1.0.0-beta.17.0 to 1.0.0-beta.19.1.