Delegated Types is a pattern for representing class hierarchies in Active Record ORMs using polymorphic relationships instead of inheritance. By creating a shared root model (like Entry) that connects to specialized models through morphTo relationships, you can add shared behavior across models, build recursive hierarchies, and

Sort: