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
>= 2.4.0
Artem Kuzko