module PgSearch
def self.included(base)
def self.included(base) ActiveSupport::Deprecation.warn <<~MESSAGE Directly including `PgSearch` into an Active Record model is deprecated and will be removed in pg_search 3.0. Please replace `include PgSearch` with `include PgSearch::Model`. MESSAGE base.include PgSearch::Model end