Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Reflecting on Active Record Associations

Ruby Central via YouTube

Overview

Explore the inner workings of Active Record associations in this 32-minute conference talk from RailsConf 2022. Delve into the seemingly magical world of has_many and belongs_to macros, uncovering the thoughtful design and metaprogramming that power these essential Rails features. Learn how to write your own association macros, dynamically define methods, cache query results, and prevent N+1 queries through inverse relationships. Gain a deeper understanding of how Active Record associations function and develop a newfound appreciation for their capabilities in Ruby on Rails development.

Syllabus

RailsConf 2022 - Reflecting on Active Record Associations by Daniel Colson

Taught by

Ruby Central

Reviews

Start your review of Reflecting on Active Record Associations

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.