Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
At the beginning of this chapter, we planned on covering searching for tickets using a query such as tag:iteration_1 state: open. This magical method would return all the tickets in association with the iteration_1 tag that were marked as open. This helps users scope down the list of tickets that appear on a project page to be able to better focus on them.
There’s a gem developed specifically for this purpose called Searcher[4] that you can use. This provides you with a search method on specific classes, which accepts a query like the one mentioned and returns the records that match it.
[4] This gem is good for a lo-fi solution but shouldn’t be used in a high search-volume environment. For that, look into full text search support for your favorite database system.