rails/rails — pull request #7233 by SamSaffron (2012-08-02 08:29:16+00:00)
Title: Update actionpack/lib/action_dispatch/middleware/remote_ip.rb

Just had an issue where nginx + puma sockets resulted in a broken remote_it, this falls back to local ips if forced