Re: missing HABTM associated models

2010-03-26 Thread WebbedIT
By default a find with recursive will only fetch the data from the model and it's directly associated models. Therefore when running User->find() you will get User and Project but not Library as library has no direct link to User. To include the extra level of associations increase User->recursiv

missing HABTM associated models

2010-03-25 Thread Johannes Goll
how do you fetch model information that is associated with tables that have a HBTM relationship? I have projects users project_users libraries projects and users are linked via a HBTM relationship projects have many libraries (hasMany) a search returns only the HBTM models and no Libraries (wh