The apartment gem's database-per-tenant switching re-establishes connections on a model class, which is not thread-safe across threads. The bug is masked on fork servers (Unicorn) and under light Puma load, but corrupts data at scale. Use Rails 6.1 horizontal sharding instead.