Why model validate always returns false

hello dears,

I have a form and model in yii1 , in the model I have set the array in rules function to empty , model extends CFormModel

public function rules()
{
return array();
}

but when I submit the form with some empty inputs its always show error that the input is required (input can not be blank)

No clue why you get this problem. Try dumping the model to output/screen before validation to make sure the object is of the class you expect.