Charlie Ridley
Charlie Ridley
I get this exception on one of my environments. Looks like a coffeescript compile error but the code works fine on the other 2 environments. System.Exception: Bundle collection rebuild failed....
``` 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