Linkable behavior is the intelligent friend of Containable behavior. It will re-setup your associations on the fly when you require to join more than one association in the same query
26
stars
9
forks
source link
shows how to retrieve records of model that references itself via belongsTo and hasMany #6
closed #5