lib/pg_search/document.rb in pg_search-2.2.0 vs lib/pg_search/document.rb in pg_search-2.3.0
- old
+ new
@@ -2,10 +2,10 @@
require 'logger'
module PgSearch
class Document < ActiveRecord::Base
- include PgSearch
+ include PgSearch::Model
self.table_name = 'pg_search_documents'
belongs_to :searchable, polymorphic: true
# The logger might not have loaded yet.