I have tried with request.remote_ip.But this works in rails not in ruby. I
have to pass ip address as a parameter.


On Tue, Jun 18, 2013 at 11:26 AM, Khan <[email protected]> wrote:

> Hi all, I want to capture IP address in ruby 1.8.7 can any one help me out
> how to capture IP.
>
>
>
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/7a0ea49a-cede-4bd1-b797-26f0b8c630c9%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CABvThQcTUOaLYWy7KnXweG8QpSi0Q%3D47VBy8c5YojfEg%3D2HPyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to