Registry / database / acts-as-tenant

acts-as-tenant

JSON →
library1.0.1rbrubygemsunverified

Integrates multi-tenancy into a Rails application in a convenient and out-of-your way manner.

gem install acts_as_tenant
INSTALL
IMPORT
SIG · ACTS-AS-TENANT
A
acts-as-tenant
databaserubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ActsAsTenant
require 'acts_as_tenant'

Set the current tenant and query scoped records

require 'acts_as_tenant' ActsAsTenant.current_tenant = Account.first Post.all
Debug
Known issues
breakingRequires Rails 5.2 or newer
fix
Upgrade Rails to version 5.2 or later
affects: < 1.0.0
Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
48 hits · last 30 days
node
36
OpenAI (training)
1
Resources
acts-as-tenant — gem install acts-as-tenant · libregistry