-
Notifications
You must be signed in to change notification settings - Fork 15
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
Multiple in_region
calls should not collide
#11
Comments
In this case are you in region "x" or not? And does that change whether you get records? I would expect this behavior as long as it returns the correct rows when you're in region 1 and do Otherwise I would say this is working as expected. |
No, my_region and x are different numbers for this issue |
I think this is not a bug then. That would be like saying:
|
So the issue is that there is a |
The issue is that I was using this in a model with a default scope of |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
@bdunne wonder if we could put |
This comment has been minimized.
This comment has been minimized.
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation. |
If you do
SomeModel.in_my_region.in_region(x)...
you won't see any records.Found this by setting
default_scope { in_my_region }
on a model. The workaround was to call.unscoped.in_region(x)...
The text was updated successfully, but these errors were encountered: