Thanks for the note but I can't get conditions to work because it's a
HABTM relationship.

I tried

$this->paginate('Game', "Category.name = 'puzzle'");

but it gives me

SQL Error: 1054: Unknown column 'Category.id' in 'where clause'

The query doesn't join Category to Game so it has no idea what
Category.name is.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to