emu
emu copied to clipboard
Simple data access library for Ember.js
GitHub changed the way Markdown headings are parsed, so this change fixes it. See [bryant1410/readmesfix](https://github.com/bryant1410/readmesfix) for more information. Tackles bryant1410/readmesfix#1
Hello, this is more of a question of whether it's possible to define custom URLs for the REST adapter. I have a bunch of different services run by Microsoft C#...
``` javascript App.Company = Emu.Model.extend({ bankAccount: Emu.field("App.Account", {lazy: true}) }); App.Account = Emu.Model.extend({}); //Get a lazy property var account = company.get("account"); //GET request currently: http://www.mysite.com/companies/1/account //GET request should be: http://www.mysite.com/companies/1/bankAccount...
App.Foo = Emu.Model.extend({ bar: Emu.field("App.Bar", {collection: true}) }); var bars = App.Foo.find(4).get("bars.firstObject"); bars.save() //should send requests to foo/4/bar but sends request to bar