# File lib/big_record/connection_adapters/column.rb, line 304 def parse_collection(value) case value when String then value.split(COLLECTION_SEPARATOR) when Hash then value.values.first.scan(/\[(.*?)\]/).flatten when NilClass then [] when Array then value else [value] end end