Solution For An Error

Refer to the code in the actionUpdate of a relation scenario for tables:

public function actionUpdate($id)



	// Uncomment the following line if AJAX validation is needed

	// $this->performAjaxValidation($model);















The error proved to be hell of a thing but i realized it arose as a result of table persorn(profile for user) not having a PRIMARY KEY. The tables User and Person have a relation through a FOREIGN KEY. For one to UPDATE the user the tables must be both having a primary key.