microrb/microrb.com — pull request #45 by ElMassimo (2014-04-12 08:24:10+00:00)
Title: Add queryable to microrb

Queryable is a minimal implementation of composable scopes and queries.

Although the implementation is generic and could be targeted at anything that can be composed, its purpose was to extract complex query logic outside of the domain models. This 30 lines of Ruby make it a joy to work with Query objects.