Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hotrungnhan opened this issue Dec 5, 2023 · 0 comments
Open

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

hotrungnhan opened this issue Dec 5, 2023 · 0 comments

Comments

@hotrungnhan
Copy link

hotrungnhan commented Dec 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant