scopable (rubygems): Scopable allows you to create objects that produce complex queries based on incoming parameters hash which are testable and easy to understand.
Keywords: activerecord|query|ruby|ruby-on-rails|scope