RubyGems Navigation menu

scoped_search 4.0.0

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.

Versions:

  1. 4.0.0 - December 5, 2016 (48 KB)
  2. 3.3.0 - August 9, 2016 (48.5 KB)
  3. 3.2.2 - July 28, 2015 (48.5 KB)
  4. 3.2.1 - June 23, 2015 (47.5 KB)
  5. 3.2.0 - February 23, 2015 (47 KB)
Show all versions (30 total)

Runtime Dependencies (1):

Development Dependencies (2):

Authors:

  • Amos Benari, Willem van Bergen, Wes Hays

Owners:

6053d8e7518ed101dbbd41dd4c1cc2ae393cc8351ec666c5e8e2918039e4464aE36bafa4e8bbf7ed347fdfa34d647591Ff01b1443724a0ae730a4ab2ca15e198

SHA 256 checksum:

c9a63107449ba507aa075408c1b9d787e5fb608012f7c7685f1112a47aca0c5a

Total downloads 538,375

For this version 18,113

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 2.0.0

Links: