2 ms·
I've used the gem 'tenancy' which extends ActiveRecord to set a where statement for the tenant on every query of every object that belongs to the tenant.
by smileysteve 10y ago
I've used the gem 'tenancy' which extends ActiveRecord to set a where statement for the tenant on every query of every object that belongs to the tenant.
- ehsanu1 10y agoWhat about objects belong to objects belong to the tenant? Or further levels thereof?