citusdata / citusdata/activerecord-multi-tenant

Caching data when fetch all record via .all && .where method

Open
#222 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Ruby
Stars
759
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Rails : 7.0.4

## Problem
.all and .where don't exec the right sql.

## Expect

Screenshot 2023-12-06 at 03 23 43
we can temporary use .load to force load by sql.

## Actual
It fetch all the record without the tenant ( in my case is regions)
![image](https://github.com/citusdata/activerecord-multi-tenant/assets/40029631/92417134-5bc3-4d48-a091-2e9d9fb39e7b)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.