chromesetting
daiao 5 years ago
parent d03c8d469f
commit e5e24d5455

@ -1,6 +1,7 @@
class ModifyTaskPassForChallenges < ActiveRecord::Migration[5.2] class ModifyTaskPassForChallenges < ActiveRecord::Migration[5.2]
def change def change
challenge = Challenge.find(6917) challenge = Challenge.find(6917)
challenge.update_attribute(:task_pass, challenge.task_pass.gsub(" ", "").gsub("rac", "\frac")) task_pass = challenge.task_pass.gsub(" ", "").gsub("rac", '\frac')
challenge.update_attribute(:task_pass, task_pass)
end end
end end

Loading…
Cancel
Save