Perhaps field "CActiveRecord::$_attributes" should be renamed to "CActiveRecord::$_dbAttributes"