6 Useful Arel Techniques for Composing Queries
By: Kyler Stole
If you ever struggle to express a query in ActiveRecord, you may be able to build it with Arel instead. Arel is the platform that manages the abstract syntax tree (AST) used to build SQL queries in Rails…