module SwitchSearchable::SearchEngine::Postgres

Public Class Methods

included(klass) click to toggle source
# File lib/switch_searchable/search_engine/postgres.rb, line 7
def included(klass)
  raise_errors

  klass.class_eval do
    extend ClassMethods
    include PgSearch
  end
end
raise_errors() click to toggle source
# File lib/switch_searchable/search_engine/postgres.rb, line 16
def raise_errors; end