Advanced ActiveRecord Querying

The ActiveRecord query interface is an impressive feat of engineering, but often we only use a small portion of it. In this trail we'll dive deep into ActiveRecord and learn how to build complex queries taking advantage of eager loading, sub-selects, ordering across joins, and more!


Taught by
  • Chris Toomey

    Chris Toomey

    Chris is a big fan of Vim and the general Unix philosophy of sharp, focused tools. He started his career as a mechanical engineer but has always had a passion for programming, specifically web development. He has worked in Visual Basic and Python, but since finding Ruby and Rails, there’s been no looking back. Outside of coding, Chris is a fan of dinner with friends, skiing, and an embarrassingly eclectic cross section of music.

  • Joe Ferris

    Joe Ferris

    Joe provides technical leadership and support to the thoughtbot team. He has more than a hundred web applications under his belt and he's familiar with every reason you probably shouldn't use JavaScript. When he's not at his desk, you can generally find him outside, climbing something. Joe also enjoys interesting weather and type systems.