activerecord-multi-tenant v0.11.0 Release Notes

Release Date: 2019-06-12 // over 2 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 like Project.where(account_id: 1).eager_load(:categories). This version fixes the ORM call to include in the join: "project_categories"."account_id" = "projects"."account_id"