Fix confusing exception in ActiveSupport delegation
Merge pull request #15187 from v-yarotsky/fix_confusing_delegation_exception

Fix confusing exception in ActiveSupport delegation