Flowdock
method

remote_addrs

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionDispatch::RemoteIp::RemoteIpGetter
remote_addrs() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/remote_ip.rb, line 12
      def remote_addrs
        @remote_addrs ||= begin
          list = @env['REMOTE_ADDR'] ? @env['REMOTE_ADDR'].split(/[,\s]+/) : []
          list.reject { |addr| addr =~ @trusted_proxies }
        end
      end
Register or log in to add new notes.