Model Generator


I’ve previously used gii to generate model when I first started my project.

Today, I’ve added a few tables and want to use gii to generate some crud operation. When generating model, I’m surprise to see this error:

Class ‘YumUser’ does not exist or has syntax error.

Can someone point me in the right direction what I should be looking for?



Solve my own problem. If generating model from db table then I should use CActiveRecord as base class.