acts_as_tenant
acts_as_tenant copied to clipboard
Acts as tenant through a belongs to association
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:
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?