aCaldwell/ResearchOpportunities — pull request #13 by zhangyiwei (2012-12-15 03:17:46+00:00)
Title: Use advisor_id and student_id to link the advisor and student model

I have successfully transferred the student and advisor 's id number to the user model after the student and advisor have been created. (This part refer to the student and advisor controllers)

Then I have changed the way I originally use to link the user to the student and advisor. The new way is exact what you want. (This part refer to the application_helper)