Try using array('Article.active'=1) for the condition ('Article.active'=1 would work as well but there are some advantages to using the arrays for conditions)

On 6/30/06, AD7six <[EMAIL PROTECTED]> wrote:

Hi Luke,

set debug to 2 in your /app/config/core.php file, and you will see that
the sql query that is generated, and see that there are 2 tables
included in the SQL that contain the field active.

Cheers,

AD7six



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

Reply via email to