presidentbeef/brakeman — pull request #155 by presidentbeef (2012-09-30 04:54:47+00:00)
Title: Report specific model when rendering collections

When handling renders like:

```erb
<%= render 'user', :collection => User.all %>
```

```erb
<%= raw user.name %>
```

Brakeman was always reporting warnings with `UnknownModel.new.name`, when the model is actually known. This patch changes that in cases where the collection is a method call on a class name like above.