Tutorial: belongs_to in 2 minutes

I uploaded a video tutorial how to configure and use belongs_to.

https://www.youtube.com/watch?v=lP8YtkXD3RE
YouTubeelixir-phoenix-ash
Learn how to link a Category resource to a Product resource via belongs_to. Source code and more tutorials at https://elixir-phoenix-ash.com

00:00 - Intro
00:03 - The Setup - Shop with a product resource
00:06 - Add a Category resource
00:47 - Configure belongs_to in the product resource
01:00 - Start iex
01:09 - Create a "Fruit" category
01:17...
belongs_to in 2 minutes - Ash Framework Tutorial
Was this page helpful?