Sublet lets you declare a tenant root and subletters that 'sublet from' a parent association—even chaining through multiple levels. Developers set current_tenant themselves in controllers; Sublet scopes AR queries automatically (including admin filters) without adding tenant_id everywhere.

Required Ruby Version

>= 3.1.0

Authors

Franco Pariani

Versions

  1. 0.1.0 October 08, 2025 (11.5 KB)

Pushed by

SHA 256 checksum