acts_as_tenant icon indicating copy to clipboard operation
acts_as_tenant copied to clipboard

Acts as tenant through a belongs to association

Open jimmypoulsen opened this issue 2 years ago • 0 comments

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 following model:

account

Neither offers, time entries or expenses can exist without a case file so I want to avoid having the account association on each of these models. I only want to have it on CaseFile.

Is this possible?

jimmypoulsen avatar Aug 01 '22 11:08 jimmypoulsen