Test for the new exception of delegate_missing_to
#30191

colorfulfool wants to merge colorfulfool:delegate-missing-to-test into rails:master

We do not currently have an analysis of these two commits