This project is archived and is in readonly mode.
New "scoped" implementation since v2.3.9 breaks chained scopes with custom methods
-
Logan Bowers
- Assigned user set to José Valim
-
Logan Bowers
- Tag set to bug, regression
-
José Valim
- State changed from resolved to open
- Importance changed from to Low
This is the commit hash: https://github.com/rails/rails/commit/bfbdeeae3080c89a0b27e42d684cb...
I am a bit busy this week, but I will try to find sometime to take a look at it next one.
-
James Le Cuirot
Interesting. I tried this on an app of mine and it worked. But that app has a fair few modifications to Rails. I switched to vanilla and it failed as you've showed. I'll try to find out what I've done that fixes it. This probably goes without saying but I recommend you don't revert that old commit, even temporarily, the memory leak was massive.
-
James Le Cuirot
Never mind, ignore that. Long story. ;)
-
Neeraj Singh
Attached is patch with test for 2-3-stable. Needless to say all the tests are passing with the patch.
-
Neeraj Singh
For the last couple of days I am not able to upload any attachment. Not sure what happend. Is it LH issue or is it my browser. Next time I will try FF.
In the meantime the attachment is on dropbox. Sorry about this. I will try FF and if that does not work I will report and issue to entp.
-
Santiago Pastorino
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale