Question CActiveRecordBehavior

Hi,

i have simple and short question:

is there any way to put defaultScope method into CActiveRecordBehavior class? Or any other way to add default scope in behavior ?

Overwrite CActiveRecordBehavior::beforeFind() method in your behavior class and use $this->owner->dbCriteria->mergeWith().