thyseus/yii-user-management — pull request #97 by dainiuss (2013-02-09 01:29:33+00:00)
Title: Update profile/controllers/YumProfileController.php

I think there is a bug here.
Scenario:
-user registers but doesn't make a profile yet.
-another user registers and makes a profile
- profile_id is not equal user_id
in this case when we are executing loadModel($id) we are using profile_id and querying tbl_user primary key.

I'm not sure if this is the best solution but I'm querying tbl_profile first to get a user_id and then use it to get YumUser model.