fixed student-edit error by changing rails controller call