quickstart-code-sample
quickstart-code-sample copied to clipboard
my code breaks when switching to LSAdapter
I tried copying this code from the ember docs. Everything works fine when I use the FixtureAdapter, but when I change to the LSAdapter and try to mark a todo as complete I get the error:
Cannot call method 'lookup' of undefined from ember-data line 217
If I try to delete a record I get the error:
Uncaught Error: Attempted to handle event `deleteRecord` on <EmberYeoman.Todo:ember309:ihdlu> while in state root.loaded.updated.inFlight.
coming from ember-data
Why does my code break when I switch adapters?