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.

Gemfile
          gem 'scoped_search', '~> 3.0.0'
  
  
  
  
  
  
  

install
          gem install scoped_search
  
  
  
  
  
  
  

Total downloads 163,869

For this version 76

Show all versions (23 total)

Required Ruby Version: >= 1.9.3

Links:

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: