Adding Data To Store In Ember Data 1.0.0 Beta


#1

Hi, I just upgraded to Ember Data 1.0.0 Beta now when I try the following code if a error. What is the proper way to do this in Ember Data 1.0.0 Beta.

Uncaught TypeError: Object [object Object] has no method ‘didFindRecord’

App.Store = DS.Store.extend({
            revision: 12,
            adapter: adapter,
            init: function(){
                this._super();
                var store = this;
                var a = store.adapterForType(App.User);
                a.didFindRecord(store, App.User, self.VARIABLES.user, self.VARIABLES.user);
            }
   });

#2

Going to answer my own question because I think I found the solution. Looks like there is a push and a pushMany method on a store now.