I have had little luck in finding a good overview on how associations work.
I have been using can.associate (https://github.com/WearyMonkey/can_associate) but this doesn't seem to be the way to go (and it doesn't play nice with can.js > 1.0.7).
I know how to do a hasMany by setting an attribute as a Model.models list, but how do I specify the reverse (belongsTo) relation? How do I handle polymorphism?
So in summary, can anyone give an overview on how to set up and use model associations in can.js?
Thanks,
Michel