module Ransack::Nodes::Bindable

def get_attribute

def get_attribute
  if is_alias_attribute?
    context.table_for(parent)[parent.base_klass.attribute_aliases[attr_name]]
  else
    context.table_for(parent)[attr_name]
  end
end