37signals-active-record-tenanted
CommunityIsolate tenants with per-tenant databases.
Software Engineering#ruby#rails#activerecord#multitenancy#tenant-resolver#database-per-tenant#tenanted
Authorjoshyorko
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Implements separate-database multi-tenancy with Active Record Tenanted using tenant-aware Rails conventions, resolver configuration, and safety guardrails. Use when adding activerecord-tenanted, isolating each tenant in its own database, or adapting 37signals-style Rails apps to database-per-tenant architecture.
Core Features & Use Cases
- Tenant isolation via separate databases managed by a Tenanted base class.
- Centralized tenant resolution with configurable guards and safe defaults.
- Real-world use: multi-tenant SaaS apps needing strict data isolation per tenant.
Quick Start
Configure your Rails app to enable ActiveRecord Tenanted with the provided ApplicationRecord base and tenant resolver, then bootstrap tenants as needed and run migrations per-tenant.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: 37signals-active-record-tenanted Download link: https://github.com/joshyorko/agent-skills/archive/main.zip#37signals-active-record-tenanted Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.