Let's say that I have two tables in my database:
users
countries
I have two defined relationships on each user belongsTo
a country and each country hasMany
users.. (CakePHP model relationships)
And I want to crate the model findUsersFromCountry($countryID)
in wich class/model this method will be? It must be inside the User
model or the Country
model?