Commit 6407218
authored
MONGOID-5164 Use None criteria instead of $in with empty list in HABTM association (#5467)
* MONGOID-5164 see if test fails when executing a query
* MONGOID-5164 fix tests
* omit apply_scope1 parent bfdaa99 commit 6407218
File tree
2 files changed
+7
-3
lines changed- lib/mongoid/association/referenced
- spec/mongoid/association/referenced/has_and_belongs_to_many
2 files changed
+7
-3
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
268 | 272 | | |
269 | 273 | | |
270 | 274 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments