If there isn't an entry in the values hash, but there is a noncolumn_values hash, look in that hash for the value.
# File lib/sequel/plugins/split_values.rb, line 49 def [](k) if (res = super).nil? @noncolumn_values[k] if !@values.has_key?(k) && @noncolumn_values else res end end
Check all entries in the values hash. If any of the keys are not columns, move the entry into the noncolumn_values hash.
# File lib/sequel/plugins/split_values.rb, line 59 def split_noncolumn_values cols = (@values.keys - columns) return self if cols.empty? nc = @noncolumn_values ||= {} vals = @values cols.each{|k| nc[k] = vals.delete(k)} self end