Add AR::Base.base_class? predicate
#32417

bogdan wants to merge bogdan:base-class into rails:master

We do not currently have an analysis of these two commits