Containable works by running lots of queries and then merging the data
into a cake-like array for you. As such you cannot throw in
conditions on deeply associated models and expect it to limit the
results. You need to force joins so you can specify the conditions
you want.
To limit the amount of
I am trying to figure out how to use containable properly.
These are the model relationship:
Client has many Account
Account has many Bills
Bills have many BillResources
ResourceType hasMany BillResource
BillResources belong to bill
Bills belong to Account
Account belongs to Client
I am trying t