Searchlogic makes using ActiveRecord named scopes easier and less repetitive.
Ben Johnson of Binary Logic
gem "searchlogic", "~> 2.3.16"