You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20191223113621_modify_task_...

8 lines
250 B

5 years ago
class ModifyTaskPassForChallenges < ActiveRecord::Migration[5.2]
def change
challenge = Challenge.find(6917)
5 years ago
task_pass = challenge.task_pass.gsub(" ", "").gsub("rac", '\frac')
challenge.update_attribute(:task_pass, task_pass)
5 years ago
end
end