class PgSearch::Configuration::ForeignColumn

def alias

def alias
  Configuration.alias(@association.subselect_alias, @column_name)
end

def expression

def expression
  "#{@association.subselect_alias}.#{self.alias}"
end

def initialize(column_name, weight, model, association)

def initialize(column_name, weight, model, association)
  super(column_name, weight, model)
  @association = association
end

def table_name

def table_name
  @connection.quote_table_name(@association.table_name)
end