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