presidentbeef/brakeman — pull request #87 by presidentbeef (2012-04-25 19:02:08+00:00)
Title: Avoid rescanning deleted templates

In the case where

* A partial was rendered from a view
* The partial was changed
* The view where it was rendered was deleted
* The partial and the deleted view were supplied to Brakeman for rescanning

Then Brakeman attempted to rescan the delete view and failed.

So let's just check the file exists before rescanning a template - if the template was deleted as part of the changed files then it will be rescanned separately.