class Ransack::Helpers::FormBuilder

def attribute_collection_for_base(attributes, base = nil)

def attribute_collection_for_base(attributes, base = nil)
  attributes.map do |c|
    [
      attr_from_base_and_column(base, c),
      Translate.attribute(
        attr_from_base_and_column(base, c), context: object.context
      )
    ]
  end
end