pathable / supermodel

Supermodel - Minimal Model Tracking for Backbonejs
http://pathable.github.io/supermodel
MIT License
229 stars 36 forks source link

Support for _id instead of id in mongoose.js? #33

Closed krokhale closed 11 years ago

krokhale commented 11 years ago

If i configure backbone to use _id, does that work with Supermodel? Or should i just a virtual attribute in mongoose and stick to id?

Thanks!

braddunbar commented 11 years ago

Yes, any value you use for Model#idAttribute should be respected. Let me know if it isn't so I can fix it. :)