Remove over meta programming in AR::Relation
#26182

bogdan wants to merge bogdan:remove-relation-metaprogramming into rails:master

We do not currently have an analysis of these two commits