Commit 1cfd6ff
committed
ActiveRecord no longer has a "scoped" method
Using the newer "none" method is a great way to do what the comment said was being done, return an AR Relation that's a null set.
I'm not totally sure why this code is doing that or what's going on in the ActiveRecord::Wrapper class around 'sets' in general.
I was unable to figure out how to make a test case that exersizes this code.
Closes #491 parent 5cf2baa commit 1cfd6ff
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments