Python, Prompt Engineering, Data Science — Build the Skills Employers Want Now
PowerBI Data Analyst - Create visualizations and dashboards from scratch
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
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