Multi tenancy in Rails: the decisions that are expensive to reverse
A handful of decisions in the first month of a SaaS decide what the next ten years cost. How to keep one customer's data apart from another's in Rails, where the tenant lives in the code, Postgres row level security, users in several companies, tenant versus billing account, and why the isolation model is also your GDPR strategy.