acts_as_tenant
acts_as_tenant copied to clipboard
Easy multi-tenancy for Rails in a shared database setup.
Hi @ErwinM, thanks for the awesome gem! We recently started to migrate our whole app to use `acts_as_tenant` and found a small issue for our use case where validations performed...
Hi. We're currently implementing multi-tenancy in our single tenant application. Most of our application involves our `CaseFile` model. A case file has many offers, time entries and expenses. See the...
I have a model called `Post`. Posts require tenancy and are only accessible by their owners. However - if a Post is set to "global" (or created by a site...
Hello I appear to be having a similar, although perhaps slightly different issue, to [this open issue.](https://github.com/ErwinM/acts_as_tenant/issues/254) Here's some information, let me know if you need anything else. Thank you...
We ran into a use case that I'd like to see if others would find useful. We have patched active_storage to be tenanted however there are other gems like action_mailbox...
I followed the example of the [Has and belongs to many](https://github.com/ErwinM/acts_as_tenant#has-and-belongs-to-many). What I was expecting to happen is that when the following code is run, it would scope by the...
Allows you to use `set_current_tenant_through_filter`, `set_current_tenant_by_subdomain_or_domain` and `set_current_tenant_by_subdomain` in ActionCable channels, in a similar vein as ActionControllers. E.g.: ```ruby class SpecSubdomainOrDomainChannel < ApplicationCable::Channel set_current_tenant_by_subdomain_or_domain def subscribed reject if params[:room_id].nil? end...
i am using the deep_cloneable gem to clone nested records , skip filter is not working on this approach , how to skip tenant and fetch records
Using `test_tenant` in conjunction with `with_tenant {}` and `without_tenant {}` in some cases leads to `test_tenant` being assign to `current_tenant` which leads to subtle bugs, that are difficult to pin...
Rails 6.1.3 ruby 3.0.0 acts_as_tenant devise 4.7.3 acts_as_tenant 0.5.0 I have 2 databases, the first one is used to manage some user/account related information users, accounts, country... The second one...