RubyGems Navigation menu

scoped_search 3.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. 3.0.0 - November 21, 2014 (47.5 KB)
  2. 2.7.1 - March 23, 2014 (45.5 KB)
  3. 2.7.0 - March 22, 2014 (45.5 KB)
  4. 2.6.5 - March 10, 2014 (44.5 KB)
  5. 2.6.4 - March 2, 2014 (44.5 KB)
Show all versions (23 total)

Runtime Dependencies:

Development Dependencies:

Authors:

  • Amos Benari, Willem van Bergen, Wes Hays

Owners:

6053d8e7518ed101dbbd41dd4c1cc2ae393cc8351ec666c5e8e2918039e4464aFf01b1443724a0ae730a4ab2ca15e198

Total downloads 170,943

For this version 449

Show all versions (23 total)

Required Ruby Version: >= 1.9.3

Licenses:

N/A

Gemfile:
gem 'scoped_search', '~> 3.0.0' = Copy to clipboard Copied!

install:
gem install scoped_search = Copy to clipboard Copied!

Links: