RubyGems Navigation menu

scoped_search 4.1.9

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:
= Copier Copié!

installation:
=

Versions:

  1. 4.1.12 - October 26, 2023 (57,5 ko)
  2. 4.1.11 - June 05, 2023 (57,5 ko)
  3. 4.1.10 - November 29, 2021 (57 ko)
  4. 4.1.9 - August 24, 2020 (55,5 ko)
  5. 4.1.8 - April 15, 2020 (54 ko)
Voir toutes les versions (43)

Dépendances de Runtime (1):

activerecord >= 4.2.0

Dépendances de Development (2):

rake >= 0
rspec ~> 3.0

Propriétaires:

Pushed by:

Auteurs:

  • Amos Benari, Willem van Bergen, Wes Hays

Total de contrôle SHA 256:

34de69831d56ba37f9b407a3cd0a378b9402083efa457a2ed6d08ed8c70490d8

Total de téléchargements 1 528 332

Pour cette version 156 479

License:

MIT

Version de Ruby requise: >= 2.0.0

Liens: