charkost / prosopite

:mag: Rails N+1 queries auto-detection with zero false positives / false negatives
Apache License 2.0
1.48k stars 45 forks source link

Change #pause to accept a block #42

Closed oskarpearson closed 2 years ago

oskarpearson commented 2 years ago

Having pause accept a block reduces the scenarios where someone could forget to re-enable scanning.

oskarpearson commented 2 years ago

This returns the result of the block similarly to https://github.com/charkost/prosopite/pull/41

oskarpearson commented 2 years ago

Hi @charkost - thought I'd ping you about this. Hope you're happy with it conceptually