Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / ggriffis
Developer Profile

ggriffis

Discovered public repositories for ggriffis in the GitHub catalog.

↗

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?

↗

ggriffis/DIY

Manage your How To lists so you can always do it yourself

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.