How to get client machine's IP address?

dear all,

I need a method that can get me an IP address of client’s machine

Thanking you…

Rutvij P. wrote:

dear all,

I need a method that can get me an IP address of client’s machine

Thanking you…


It 's request.remote_addr
I got it !!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs