Categories: Search [Edit]

scoped_search

https://rubygems.org/gems/scoped_search
https://github.com/wvanbergen/scoped_search
Scoped search makes it easy to search your ActiveRecord-based models. It will create a named scope :search_for that can be called with a query string. It will build an SQL query using the provided query string and a definition that specifies on what fields to search. Because the functionality is built on named_scope, the result of the search_for call can be used like any other named_scope, so it can be chained with another scope or combined with will_paginate. Because it uses standard SQL, it does not require any setup, indexers or daemons. This makes scoped_search suitable to quickly add basic search functionality to your application with little hassle. On the other hand, it may not be the best choice if it is going to be used on very large datasets or by a large user base.

Total

Ranking: 4,605 of 191,455
Downloads: 1,801,970

Daily

Ranking: 4,253 of 191,429
Downloads: 1,013

Depended by

RankDownloadsName
8,471445,910katello
152,6913,725scoped_search-oracle_enhanced
156,8783,550scoped_search-h2

Depends on

RankDownloadsName
81,273,120,523rake
29964,231,479rspec
36770,348,064activerecord
112401,137,935base64
121376,236,615bigdecimal
162295,798,888logger
282174,187,563benchmark
310157,186,622mutex_m

Owners

#GravatarHandle
1iconwvanbergen
2icon#842
3icondomcleal
4iconabenari
5iconAres
6iconaruzicka
7icontheforeman