Originaly posted on cakephp Q&A but i\'ll put it up here in hope of getting some answers.
I have a bunch of companies that has a status of 0 as default but somet
I'm not sure to have understood what results you expect. If you want to retrieve all records having status = 0, plus let's say the one having status = 3, you could use an 'IN' instead of an 'OR'.
In Cake, you would write it like this:
$status = 3;
$conditions = array('Company.status' => array(0, $status));