yiisoft/yii — pull request #1660 by gregmolnar (2012-11-05 23:28:39+00:00)
Title: CActiveRecord::deleteAll and updateAll should use scope

It fixes #1571. I think this is the proper behavior or otherwise there should be an exception thrown if someone tries to use a scope with these methods. I wrote unit tests but I was not sure why there is a CActiveRecord2Test so I added the test only to CActiveRecordTest.