Registry / database / pg-search

pg-search

JSON →
library2.3.7rbrubygemsunverified

PgSearch builds Active Record named scopes that take advantage of PostgreSQL's full text search.

gem install pg_search
INSTALL
IMPORT
SIG · PG-SEARCH
P
pg-search
databaserubyv2.3.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PgSearch
require 'pg_search'

Define a full-text search scope on an Active Record model

require 'pg_search' class Article < ActiveRecord::Base include PgSearch::Model pg_search_scope :search_by_title, against: :title end Article.search_by_title('ruby')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
24
Resources
pg-search — gem install pg-search · libregistry