37signals-multi-tenant

Community

URL-based multi-tenant with per-account scope

Authorjoshyorko
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implements URL-based multi-tenancy with account scoping for Rails apps, ensuring every resource belongs to an account and URLs reflect account context, enabling secure, scalable data isolation in a single database.

Core Features & Use Cases

  • Account and Membership models for per-account access control and role management.
  • Current context (Current.account, Current.user) for per-request scoping across controllers, models, and routes.
  • URL-based routing with account_id in the path, explicit account-scoped queries, and UUID primary keys.

Quick Start

Configure your Rails app to expose per-account routes and initialize Current.account from the URL.

Dependency Matrix

Required Modules

None required

Components

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-multi-tenant
Download link: https://github.com/joshyorko/agent-skills/archive/main.zip#37signals-multi-tenant

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.