Deprecate using class level querying methods if the receiver scope regarded as leaked
#35280

12642
kamipo wants to merge kamipo:deprecate_leaking_scope into rails:master

We do not currently have an analysis of these two commits