Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / ggriffis / the-gods-must-be-crazy
Public GitHub Catalog Discovered Sep 28, 2026

ggriffis / the-gods-must-be-crazy

An app to demonstrate a One-to-Many (via has_one :through/has_many) database association. Using a through object is helpful when you want to store information specific to the association of two items—instead of just wanting to store the association itself. Using these helper methods the MANY side model will be cognizant of the ONE model but the ONE side model will not be directly cognizant of the MANY model. Both will be cognizant of the JOIN model, however. This is a rare scenario. Let’s use a bizarre, somewhat contrived, and controversial example. Let’s say we have a ONE side model, God. The MANY side model would be Human. Each God could have MANY Humans following him/her through a JOIN model of GuardianAngel. The God model could have many GuardianAngels but lets say s/he doesn’t care about keeping track of all his/her follower Humans. Who said DB associations were boring?

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.

#11744042GitHub System ID
ggriffisOrganization / User
PublicVisibility
ActiveCatalog Status

More from ggriffis

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner