instance method
ip
Ruby on Rails 6.0.6
Since v3.0.20Signature
ip()
Returns the IP address of client as a String.
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 282
def ip
@ip ||= super
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 282
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request