rails/rails — pull request #3649 by indirect (2011-11-16 23:38:30+00:00)
Title: Fixes for Request#remote_ip (no middleware, all proxies)

So it turns out that the RemoteIp middleware might not be added to the stack. Hah. Also, when requesting directly from box with a proxy IP, we should return the IP, not filter it.

@jonleighton, this fixes all the test failures you noted from the previous merges.