Commit 22276e5
Delegate Base.exists? to Relation
We can use the Relation implementation of exists? and then delegate the
method on Base. This will give us one implementation that can be used on
but the record class or a scoped relation.1 parent 7b98b60 commit 22276e5
1 file changed
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 106 | | |
121 | 107 | | |
122 | 108 | | |
| |||
190 | 176 | | |
191 | 177 | | |
192 | 178 | | |
193 | | - | |
| 179 | + | |
194 | 180 | | |
195 | 181 | | |
196 | 182 | | |
| |||
0 commit comments