I have a very simple app running and every time i try to store a model ember is throwing the Error: No model found for… exception. Any ideas on where to look for why there is no factory for this model?
Model: Imports.TempFile = DS.Model.extend({ filePath: DS.attr(‘string’) });
App code:
Imports.Store = DS.Store.extend();
Imports.ApplicationSerializer = DS.LSSerializer.extend();
Imports.ApplicationAdapter = DS.LSAdapter.extend();
Code to try and create a record
store.createRecord(‘tempFile’, { id: 1, filePath: “foo” });