rails/rails — pull request #3623 by indirect (2011-11-13 20:30:49+00:00)
Title: Remote IP fixes/cleanup

Vijay pointed me at some breaking tests. These commits fix the tests by:

- returning the first REMOTE_ADDR instead of the last one
- not causing an exception while trying to raise IpSpoofAttackError
- changing the tests to expect X-Forwarded-For before REMOTE_ADDR