Ramblings from a startup addict and Techpreneur!

Tag Archives

Archive of posts published in the tag: single table inheritance

How to keep tables uncluttered by using profiles for each user type in Ruby on Rails

This is a continuation of my STI / Single Table Inheritance article: “How to use multiple User types with the same model in Rails aka STI or Single Table Inheritance” To keep your tables less cluttered and better normalized, I do recommend creating…

How to Use Multiple User Types (STI or Single Table Inheritance) with the Same Model in Ruby on Rails

Ruby on Rails

Lately, I’ve been building a complex CRM for music teachers to manage students, invoicing, etc… It’s gotten a bit complicated, and I myself have learned a lot from this side project. One important thing I’ve learned is STI, or Single Table Inheritance. Basically,…