save--->save!

This commit is contained in:
sw 2015-07-17 15:49:58 +08:00
parent c18481e89c
commit eae8e71561
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ class StudentWorkController < ApplicationController
student_work_test.student_work = stundet_work
student_work_test.homework_test = homework_test
student_work_test.result = result[:status]
student_work_test.save
student_work_test.save!
end
end
end