Forward deprecation

This commit is contained in:
Christoph Haas 2020-08-17 00:43:50 +02:00
parent cc080191fb
commit cdb4772145

View file

@ -4,7 +4,7 @@ require 'json'
class Package < ApplicationRecord class Package < ApplicationRecord
# PostgreSQL-based full-text search: # PostgreSQL-based full-text search:
# https://github.com/Casecommons/pg_search # https://github.com/Casecommons/pg_search
include PgSearch include PgSearch::Model
# TODO: Make search weighted on users' rating # TODO: Make search weighted on users' rating
pg_search_scope :general_search, pg_search_scope :general_search,
# :against => [:name, :description, :long_description], # :against => [:name, :description, :long_description],