class PgSearch::Configuration::Column
def alias
def alias Configuration.alias(association.subselect_alias, @column_name) end
def column_name
def column_name @connection.quote_column_name(@column_name) end
def expression
def expression full_name end
def full_name
def full_name "#{table_name}.#{column_name}" end
def initialize(column_name, weight, model)
def initialize(column_name, weight, model) @column_name = column_name.to_s @weight = weight @model = model @connection = model.connection end
def table_name
def table_name @connection.quote_table_name(@model.table_name) end
def to_sql
def to_sql "coalesce(#{expression}::text, '')" end