dev_home
SylorHuang 5 years ago
parent 72a511390f
commit ebd4e79f37

@ -494,7 +494,7 @@ module ExercisesHelper
answers_content.each do |u| answers_content.each do |u|
u_answer_text = u.answer_text.strip.downcase u_answer_text = u.answer_text.strip.downcase
if st_answer_text.size == 1 if st_answer_text.size == 1
if st_answer_text.first == u if st_answer_text.first == u_answer_text
u.update_column("score",q_score_2) u.update_column("score",q_score_2)
score2 = score2 + q_score_2 score2 = score2 + q_score_2
else else

Loading…
Cancel
Save