Sha256: 89f690bdf348e67ff9da6508af3747b9293ea945bb2b28da945cc37e4eab9d4b
Contents?: true
Size: 354 Bytes
Versions: 15
Compression:
Stored size: 354 Bytes
Contents
# This migration comes from fe_engine (originally 20151021181928) class SwitchConditionalAnswerSeparatorToSemicolon < ActiveRecord::Migration[4.2] def change Fe::Element.where("conditional_answer IS NOT NULL AND conditional_answer != ''").each do |e| e.update_column :conditional_answer, e.conditional_answer.gsub(',', ';') end end end
Version data entries
15 entries across 15 versions & 1 rubygems