activerecord-multi-tenant v0.11.0 Release Notes
Release Date: 2019-06-12 // almost 5 years ago-
- 🛠 Fix queries with joins by including the tenant column when current tenant isn't set
- A common use case is having a filter on the tenant, but
MultiTenant.with
isn't used likeProject.where(account_id: 1).eager_load(:categories)
. This version fixes the ORM call to include in thejoin
:"project_categories"."account_id" = "projects"."account_id"
- A common use case is having a filter on the tenant, but
- 🛠 Fix queries with joins by including the tenant column when current tenant isn't set