Mercurial > hg > soundsoftware-site
view .svn/pristine/8f/8f432f3794bad71b8b15d0a2b9eb0bdfa9179a1e.svn-base @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | 261b3d9a4903 |
children |
line wrap: on
line source
class SerializePossiblesValues < ActiveRecord::Migration def self.up CustomField.all.each do |field| if field.possible_values and field.possible_values.is_a? String field.possible_values = field.possible_values.split('|') field.save end end end def self.down end end