Skip to content

Instantly share code, notes, and snippets.

@orospakr
Last active Aug 29, 2015
Embed
What would you like to do?
> var lol = App.__container__.lookup('store:main').createRecord("person");
undefined
> lol
Class {id: "fixture-1", store: Class, container: Container, _changesToSync: Object, _deferredTriggers: Array[0]…}
> lol.save()
Class {__ember1395010469071: undefined, _super: undefined, __ember1395010469071_meta: Object, constructor: function, reason: null…}
> App.__container__.lookup('store:main').find("person").get("length")
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment