My basic query object pattern is super simple building on what many people seem to do nowadays.
- Never use method missing - always an explicitly defined interface.
- expose #relation and #all
- always return self to keep methods chainable
Example:
class CustomerQuery