Activerecord Tenanted

Expert guidance for SQLite-per-tenant Rails apps using the Basecamp activerecord-tenanted gem. Use when adding multi-tenancy, tenant databases, GlobalRecord, ApplicationRecord.with_tenant, Current.tenant, Current.account, shard swapping, db/global_migrate, or per-tenant SQLite. Do not use for Nebula-style acts_as_tenant row scoping or Fizzy same-database path tenancy.

thinkoodle Updated 7 repo stars

File contents

thinkoodle/rails-skills commit 0b21af8e9d

Frequently asked questions

npx get-skill add thinkoodle/activerecord-tenanted-2