RubyGems Navigation menu

scoped_search 3.2.2

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 4.1.12 - October 26, 2023 (57.5 KB)
  2. 4.1.11 - June 05, 2023 (57.5 KB)
  3. 4.1.10 - November 29, 2021 (57.0 KB)
  4. 4.1.9 - August 24, 2020 (55.5 KB)
  5. 4.1.8 - April 15, 2020 (54.0 KB)
  6. 3.2.2 - July 28, 2015 (48.5 KB)
显示所有版本 (共 43 个)

Runtime 依赖 (1):

activerecord >= 3.2.0

Development 依赖 (2):

rake >= 0
rspec ~> 3.0

业主:

作者:

  • Amos Benari, Willem van Bergen, Wes Hays

SHA 256 校验和:

0429b61241164e5c1d309a57e6548f21cc2539f6be8812cf4a436e3d81879e43

下载总量 1,526,294

这个版本 200,248

许可:

MIT

需要的 Ruby 版本: >= 1.9.3

链接: