save--->save!
This commit is contained in:
parent
c18481e89c
commit
eae8e71561
|
@ -390,7 +390,7 @@ class StudentWorkController < ApplicationController
|
||||||
student_work_test.student_work = stundet_work
|
student_work_test.student_work = stundet_work
|
||||||
student_work_test.homework_test = homework_test
|
student_work_test.homework_test = homework_test
|
||||||
student_work_test.result = result[:status]
|
student_work_test.result = result[:status]
|
||||||
student_work_test.save
|
student_work_test.save!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue