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,390 of 184,814
Downloads: 1,655,068

Daily

Ranking: 5,956 of 184,790
Downloads: 464

Depended by

RankDownloadsName
8,349381,581katello
149,1163,512scoped_search-oracle_enhanced
153,9513,323scoped_search-h2

Depends on

RankDownloadsName
101,026,054,724rake
26855,240,869rspec
35638,561,844activerecord
233165,978,091bigdecimal
235165,625,706base64
43689,146,034logger
77958,351,556mutex_m
88447,490,129benchmark

Owners

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