Registry / database / search-cop

search-cop

JSON →
library1.5.0rbrubygemsunverified

Search engine like fulltext query support for ActiveRecord.

gem install search_cop
INSTALL
IMPORT
SIG · SEARCH-COP
S
search-cop
databaserubyv1.5.0
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.

SearchCop
require 'search_cop'

Define a fulltext search scope on a model.

require 'search_cop' class Product < ActiveRecord::Base search_scope :search do attributes :name, :description end end Product.search('blue widget')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
search-cop — gem install search-cop · libregistry