lib/pg_search/model.rb in pg_search-2.3.2 vs lib/pg_search/model.rb in pg_search-2.3.3
- old
+ new
@@ -19,14 +19,16 @@
scope_options = ScopeOptions.new(config)
scope_options.apply(self)
end
end
+ # rubocop:disable ThreadSafety/ClassAndModuleAttributes
def multisearchable(options = {})
include PgSearch::Multisearchable
class_attribute :pg_search_multisearchable_options
self.pg_search_multisearchable_options = options
end
+ # rubocop:enable ThreadSafety/ClassAndModuleAttributes
end
def method_missing(symbol, *args)
case symbol
when :pg_search_rank