|
|
@ -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
|
|
|
|