patrickcurl.com
How to Use Multiple User Types (STI or Single Table Inheritance) with the Same Model in Ruby on Rails - Patrick Curl
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,…