BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

scoped_search

v4.3.1RubyGems· Ruby

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.

The verdict
Aging — last published 8 months ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 8 months ago — check before adopting.
Popularity
1.7K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 4.3.18 months ago
  • 4.3.08 months ago
  • 4.2.0over a year ago
  • 4.1.13over a year ago
  • 4.1.122 years ago
  • 4.1.112 years ago
  • 4.1.104 years ago
  • 4.1.95 years ago