Re: HABTM COUNT Working but SELECT not adding join table

2011-03-15 Thread cricket
On Tue, Mar 15, 2011 at 12:59 AM, Mike Digital wrote: > I've got two tables and a join table: > * drink_reviews > * comments > * comments_drink_reviews > > I am trying to paginate on a specific category and here in lies the > problem: > > > $this->C

HABTM COUNT Working but SELECT not adding join table

2011-03-15 Thread Mike Digital
I've got two tables and a join table: * drink_reviews * comments * comments_drink_reviews I am trying to paginate on a specific category and here in lies the problem: $this->Category->DrinkReview->bindModel(array('hasOne' => array('CategoriesDrinkR