Bob Fanger
Bob Fanger
`class ChildModel extends ActiveRecord`
@isonet `import ActiveRecord from 'angular-activerecord';` won't return the ActiveRecord constructor function. I've made an attempt to convert to an UMD module so I could return the ActiveRecord constructor, but was...
Previous Travis-CI build was 8 months ago, I've updated the configs and dependencies. if you'd `git rebase` it probably fixes this build too.
``` sh git remote add upstream https://github.com/bfanger/angular-activerecord.git git pull --rebase upstream master # check if the patch still works after the rebase git push -f origin master ``` For more...
I like the simplicity of your implementation of relations (just mapping the objects to classes), but managing relations is a feature that can become complex really fast. Could you write...
Thanks I'll try to merge it when I've got some free time
I'd create a fetchPaged method loosely based on on ActiveRecord.fetchAll() in my base class: ``` js var BaseRecord = ActiveRecord.extend({ }, { fetchPaged: function (options) { // Return a promise...
It isn't "planned", but it is certainly on my wishlist. Do you know other implementations of relational mapping in JavaScript? I currently busy with other projects. If a pull request...
Yes, properties on a ActiveRecord model can also be objects or arrays.
It is, but my spare time is very limited and validation is a complex problem. The proposed solution deviates from Backbone's implementation and AngularJS already provides (field) validation with [ModelController.$setValidity()](https://docs.angularjs.org/api/ng/type/ngModel.NgModelController)...