class Ransack::Context

def contextualize(str)

into the attribute itself
Convert a string representing a chain of associations and an attribute
def contextualize(str)
  parent, attr_name = bind_pair_for(str)
  table_for(parent)[attr_name]
end