Little error in documentaton

Hello in the guide "The Definitive Guide to Yii"  in the section  "Creating First Yii Application"  I found this



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)








bye bye from Italy

What is the error message you saw?

By default, 'db' component will use class 'CDbConnection'. So you don't need to explicitly specify its class property.


But now is working :o… I don’t know… I’m not drunk…

I cannot replicate the error…ignore my message.

I saw this error with crud."Error: Table "nametable" does not have a primary key."…

(the table have a primary key).