Tutorials
Why you should avoid nested STI | ActiveRecord, Rails 6
Nested Single Table Inheritance doesn’t work well. Here’s what you must know to make it work or work around it. Initial specifications: a project owner creates a project and donors can contribute.Later, a little change was made to the specificatio...
Comparison of approaches to multitenancy in Rails apps
You can implement multitenancy on a couple different levels. If you’re on PostgreSQL:Row level (putting tenant_id columns to every table and filtering everywhere).Schema level (namespaces is a more explanatory name, see PostgreSQL schemas).Databas...