Query objects store complex SQL queries, data aggregation, and filtering methods. The goal of this pattern is to remove code for querying sets of objects from models/controllers and provide a simple yet powerful interface for complex data aggregation. In practice Query objects live in the app/queries folder. Their naming convention is similar to that of controllers. Each object should bear the plu