charliesome/better_errors — pull request #136 by mynameisrufus (2013-02-27 23:40:15+00:00)
Title: invalid addr issue

Puma with nginx (yes that's my local dev env) is not setting the `REMOTE_ADDR` for some reason. A PR exists that checks if it's an empty string but I think a better way to go for 'security!' is to always check that it is being set and set it manually if your dev env is pickled in some way using environment variables.

It could be an option to remove this line completely:

```ruby
return true unless remote_addr(env)
```