Extra Credit

activerecord-cte

Brings Common Table Expressions support to ActiveRecord and makes it super easy to build and chain complex CTE queries

$gem install activerecord-cte

Official docs outline

Extra Credit builds an outline of activerecord-cte's docs the first time your work uses it. Until then, start at the official documentation.

All 3,925