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...
A session store backed by an Active Record class. A default class is provided, but any object duck-typing to an Active Record Session class with text session_id and data attributes is sufficient.