You must NOT comment out the rules()
function.
In it, you MUST set the attributes to safe, to allow Yii to copy the fields from the form to model:
public function rules() {
return array(
array('username, password, user_sex, user_qq,
user_hobby, user_xueli, user_introduce,
user_email, user_tel', 'safe'),
);
}
See also: http://www.yiiframework.com/wiki/161/understanding-safe-validation-rules/