Hello in the guide "The Definitive Guide to Yii" in the section "Creating First Yii Application" I found this
'db'=>array( 'connectionString'=>'sqlite:protected/data/source.db',
Then you explain the model and crud function but this not working.
Is necessary to insert in CDbConnection to using AR for model and crud function.
I suggest to add this (is usefull for the MYSQL)
'db'=>array( 'class'=>'system.db.CDbConnection', 'connectionString'=>'mysql:host=localhost;dbname=namedb', 'username'=>'user', 'password'=>'1234', 'schemaCachingDuration'=>3600, ),
bye bye from Italy