Rails ActiveRecord Relation (Arel), composition and Query Objects
http://www.eq8.eu/blogs/38-rails-activerecord-relation-arel-composition-and-query-objects
Ruby on Rails ActiveRecord::Relation (or Arel) is really handy tool to create complex SQL calls. In this article I’ll show you several tricks I’ve came across over the years and show you how to combine them to Query Objects and Query Interfaces
Post a comment