Flowdock
method

call

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionDispatch::RemoteIp
call(env) public

Since the IP address may not be needed, we store the object here without calculating the IP to keep from slowing down the majority of requests. For those requests that do need to know the IP, the GetIp#calculate_ip method will calculate the memoized client IP address.

Show source
Register or log in to add new notes.