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:
[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?
Thks
mikl
(Mike)
2
Rule #1 before upgrading: Read the upgrade notes 
http://www.yiiframework.com/doc/guide/upgrade
Flavio
(Flavioleonelferreira)
3
'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.