presidentbeef/brakeman — pull request #129 by presidentbeef (2012-08-16 02:16:13+00:00)
Title: Treat model attribute as immediate value in `or` expressions

This should have been in 1.7.0, but clearly my tests were not adequate.

In this situation:

```erb
<%= User.find(current).name || 'nothing' %>
```

Brakeman should treat `User.find(current).name` as an immediate model attribute and generate a high confidence warning (assuming Rails 2.x).