rails/rails — pull request #13669 by chulkilee (2014-01-11 00:33:39+00:00)
Title: Set NameError#name

`NameError` exception has `name` attribute (at least from [1.8.6](http://ruby-doc.org/core-1.8.6/NameError.html)). Having the class name in exception class make easy to find class name without parsing error message. e.g. https://github.com/thoughtbot/shoulda-matchers/pull/411