|
|
|
@ -14,7 +14,7 @@ class ModifyKeContentsForMarkdown < ActiveRecord::Migration[5.2]
|
|
|
|
|
# m.update_column(:content, content)
|
|
|
|
|
# end
|
|
|
|
|
|
|
|
|
|
试卷的标题
|
|
|
|
|
#试卷的标题
|
|
|
|
|
ExerciseQuestion.find_each do |eq|
|
|
|
|
|
question_title = ke_transform_to_md eq.question_title
|
|
|
|
|
eq.update_column(:question_title, question_title)
|
|
|
|
|