rails/rails — pull request #15187 by v-yarotsky (2014-05-20 05:58:56+00:00)
Title: Fix confusing exception in ActiveSupport delegation

Follow-up on #15186. I decided to change the existing test, as it did intend to cover this case, but failed to do so.