i have a small ember (2.7.0) project where i use ember-models-table (1.8.0) to setup a small table. table contents come from route’s model, a simple findAll. table ‘rows’ are created/updated/deleted in that route’s controller, using createRecord+save (create), destroyRecord (delete) and findRecord+then+set+save (update). the problem is, when i create a ’row’, the table immediately shows the new row, but when i delete it, it does nothing and when i update it, it shows both a row with the old values and a row with the new values. but everything is fixed if i refresh the page.
searched for some explanation of this mechanism but didn’t find any. i’m having some problems answering both 'who is responsible for this behaviour? and ‘what’s the best practice in this case’? didn’t manage to find a way of refreshing route’s model in the controller or the table itself via ember-models-table.
any help is appreciated.
thank you very much.