Relations dont work after I updated Yii

Why this relation dont work more after I updated from Yii 1.0.11 to 1.1.0?

‘Cities’=>array(self::HAS_MANY,‘City’,‘stateId’,‘order’=>’??.description ASC’),


 [exception.CDbException] exception

'CDbException' with message 'CDbCommand failed ... SQL: SQLSTATE[42000]: Syntax error or access violation: 1064 ...  '??.descricao ASC' line 1'

in /home/standdocorretor/yii/framework/db/CDbCommand.php:375

Some thing was changed?


Rule #1 before upgrading: Read the upgrade notes ;)

'Cities'=>array(self::HAS_MANY,'City','stateId','order'=>'??.description ASC'),

just remove ??.

Thanks, I did not know this guide but it’s great to know.

Thanks, that helped me a lot.