Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the inner workings of Active Record associations in this 32-minute conference talk from RailsConf 2022. Explore the seemingly magical world of has_many and belongs_to relationships by implementing custom macros from scratch. Gain insights into dynamic method definition, query result caching, and the replacement of Relations with CollectionProxies. Learn how to prevent N+1 queries automatically using inverses. Walk away with a deeper understanding of the thoughtful design and metaprogramming techniques behind Active Record associations, demystifying their magic and enhancing your Ruby on Rails development skills.
Syllabus
RailsConf 2022 - Reflecting on Active Record Associations by Daniel Colson
Taught by
Confreaks