Quo is a gem which provides an implementation of a composable query object so you can encapsulate and organise complex queries.
It provides a chainable interface to abstract ActiveRecord DB queries and array-like collections, allowing for a layer of abstraction between the query, ActiveRecord and your application. Quo also offers paging and mapping behaviours, and a + (compose) method which allows for merging of queries.
Additionally, Quo provides utility methods to operate on the underlying collection, and can act as a callable.