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."
Required Ruby Version
None
Authors
Willem van Bergen, Wes Hays
Versions
- 4.3.1 September 30, 2025 (59 KB)
- 4.3.0 September 25, 2025 (59 KB)
- 4.2.0 February 18, 2025 (58.5 KB)
- 4.1.13 December 03, 2024 (58 KB)
- 4.1.12 October 26, 2023 (57.5 KB)
- 2.0.1 October 05, 2009 (27 KB)