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

Deprecation / error on next Rails #80

Open ghiculescu opened 3 months ago

ghiculescu commented 3 months ago

This line: https://github.com/charkost/prosopite/blob/36f7f5a4fa800fcfa1f9bef5cae94c9739b128fc/lib/prosopite.rb#L147C20-L147C71

Is hitting this: https://github.com/rails/rails/blob/a6a840f150d2d153af33648d93fc4553f5a3857e/activerecord/lib/active_record/connection_handling.rb#L263-L276

See https://github.com/rails/rails/pull/51349

btw. it's hard to debug because it just raises the query rather than the error, here: https://github.com/charkost/prosopite/blob/36f7f5a4fa800fcfa1f9bef5cae94c9739b128fc/lib/prosopite.rb#L125