13
votes

I am using ember and ember data in my application . How can we remove manually a record from the store in Ember . Currently i am pushing the record to store using push method . I have some issues with ember data save , so i used ajax function for save . Is there any method like record.remove()?

1

1 Answers

30
votes

record.unloadRecord() or store.unloadRecord(record), additionally you can remove all records for a type, store.unloadAll(type)