Commit 1626bce
authored
Fix Relation#inspect failing due to private Results#results (#1733)
In v6.0, Results#results was made private, breaking Relation#inspect
which relied on delegating the `results` call through delegate_missing_to.
Since delegate_missing_to uses public_send, it cannot access private methods.
Fix by calling private_execute.first(11) directly instead of results.first(11).1 parent 107d270 commit 1626bce
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments