class Ransack::Helpers::FormBuilder

def mapped_values(values)

def mapped_values(values)
  values.map { |v| v.is_a?(Array) ? v.first : nil }.compact
end