lorint / brick

Auto-generate models, views, controllers, and routes in a Rails app based on database structure
Other
269 stars 8 forks source link

An exploration of a custom take on a self-referencing JOIN #13

Closed lorint closed 5 months ago

lorint commented 5 months ago

Neil had a question about creating a custom kind of way to have a self-referencing JOIN. Using Brick to visualise stuff, here's a small explanation:

https://github.com/lorint/brick/assets/5301131/9f73e28b-66a1-4c03-8c67-064158890e59