The scoped_search Rails plugin makes it easy to search your ActiveRecord models. Searching is performed using a query string, which should be passed to the named_scope search_for that uses SQL LIKE keyword conditions for searching (ILIKE for Postgres). You can specify what fields should be used for searching.