12 13 14 15 16 17 18 19 20 21
# File 'lib/active_data/model/extensions/array.rb', line 12 def modelize value case value when String then value.split(',').map(&:strip) when Array then value else nil end end