zen-query (rubygems): Zen::Query class provides a way to dynamically     apply scopes or ActiveRecord (or any other ORM) query methods based on passed     params with a declarative and convenient API
Keywords: activerecord|parameters|ruby|scope