-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Unexpected behaviour for none
scope
#18897
Comments
I don't think the Honestly I'm having trouble understanding what you're trying to fetch. Won't |
@senny 👍 that would make sense. |
@bendilley what version of Rails are you using? I remember working on that exact issue. See #15176 and c2357eb |
@senny I'm using Rails 4.0.12 You're right - your commit does address this very problem. From which version of Rails is your fix applied? |
@bendilley I just checked and the patch is only applied on As far as I know the last bugfix release for |
No worries, thanks @senny. I have a serviceable workaround for now - I just wanted to raise it coz it caught me out. Evidently I wasn't alone... I guess I didn't search existing issues thoroughly enough 😅 |
backported the patch to @bendilley thank you for reporting! 💛 |
creates a clause like
which is exactly the same as you get with
This is contrary to what I think most would expect.
I'm not sure how this particular scenario should be addressed. One option might be to generate something like this instead:
The text was updated successfully, but these errors were encountered: