class PgSearch::Document

def self.logger

https://github.com/Casecommons/pg_search/issues/26
The logger might not have loaded yet.
def self.logger
  super || Logger.new(STDERR)
end

def update_content

def update_content
  methods = Array(searchable.pg_search_multisearchable_options[:against])
  searchable_text = methods.map { |symbol| searchable.send(symbol) }.join(" ")
  self.content = searchable_text
end