activerecord-multi-tenant v2.1.0 Release Notes

Release Date: 2022-10-20 // 3 months ago
    • 🛠 Fix query building for models with mismatched partition_keys #150
    • Identify tenant even if class name is nonstandard #152
    • Add current_tenant_id to WHERE clauses when calling methods on activerecord instance or its associations #154
    • Make create_distributed_table, create_reference_table reversible & add ruby wrapper for rebalance_table_shards #155
    • Support create_distributed_table, create_reference_table in schema.rb #156
    • ➕ Add client and server sidekiq middleware to sidekiq middleware chain #158

Previous changes from v2.0.0

    • Replace RequestStore with CurrentAttributes #139
    • Support changing table_name after calling multi_tenant #128
    • 👍 Allow to use uuid as primary key on partition table #112
    • 👌 Support latest Rails 5.2 #145
    • 👌 Support optional: true for belongs_to #147