lib/pg_search/configuration/column.rb in pg_search-0.7.5 vs lib/pg_search/configuration/column.rb in pg_search-0.7.6

- old
+ new

@@ -1,12 +1,13 @@ require 'digest' module PgSearch class Configuration class Column - attr_reader :weight + attr_reader :weight, :name def initialize(column_name, weight, model) + @name = column_name.to_s @column_name = column_name.to_s @weight = weight @model = model @connection = model.connection end