I'm trying to create an association that I can use, where I get all the Courses of a particular Student, and another association which gives me the Course with the.. smallest average grade, let's say. Is it possible to do it in cake 4.4.x ?
I've tried to create a finder but I don't know how to access the parent entity attributes.