rails/rails — pull request #17674 by recursive-madman (2014-11-19 11:39:10+00:00)
Title: Add #record attribute to RecordNotFound and RecordDestroyed exceptions.

This allows these exceptions to be handled generically in conjunction with RecordInvalid.