SimpleSearch brings simple search to ActiveRecord. It ads simple_search named scope that accepts query as parameter.
The idea is that you provide the query and plugin does the rest (splits query to keywords and compose where statement).
This can be very useful in case you just want to filter list of records by some query, you have autocomplete field, … or something similar.
Example
View
Model
Controller
Query examples
Simple query
You can also provide :columns => :column1, :column2, … option to limit search only to those columns
More complex query
**NOTE: With proper use of indexes this plugin can work quite well in most cases, but in case you have a large and complex database it is usually much better idea to use some search daemon like Thinking Sphinx.