DEV Community

Mark Ericksen
Mark Ericksen

Posted on • Originally published at thinkingelixir.com

ThinkingElixir 048: Ecto Associations with Sheharyar Naseer

In episode 48 of Thinking Elixir, we talk with Sheharyar Naseer about Ecto’s feature “association defaults” and how they work. They support defining a function that gets called during your changeset operations and can be used to ensure that multi-tenancy IDs get populated down correctly. We learn more about Slab, talk about Single Table Inheritance designs and how we feel about them. We also talk about wrapping our Repo module for fun and profit!

Podcast Episode

Top comments (0)