Can you copy your ruby script ? Regards, Logan
Sent from mobile device On 18 Jun 2013 12:35, "sameena Khan" <emailtosameenak...@gmail.com> wrote: > Thanks Rafi for your reply but can I use request.remore_addr directly like > ip = request.remote_addr in ruby. it is saying undefined request local > vairable. > > > On Tue, Jun 18, 2013 at 12:09 PM, Rafi A <rafigl...@gmail.com> wrote: > >> How about using *request.remote_addr ?* >> >> >> Regards, >> Seeni Rafiyullah Khan A, >> <srk...@apigee.com>** >> >> >> On Tue, Jun 18, 2013 at 1:56 AM, Khan <emailtosameenak...@gmail.com>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 rubyonrails-talk+unsubscr...@googlegroups.com. >>> To post to this group, send email to rubyonrails-talk@googlegroups.com. >>> 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 rubyonrails-talk+unsubscr...@googlegroups.com. >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BfXU%2B3ngJR57FXUoHyVWPWPLfiM6zzMv%2BqRSo94Fxs1TU-Z2g%40mail.gmail.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 rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CABvThQfbk2%2Be1Pi3tQgPDfgMPaWaFAEPd%2BYgs7hgRWp3MYPJPg%40mail.gmail.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 rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAD_i5MEuNpDEy4AgwwZjzk19ooBvjcaAO8_wF8VL4vsFrSh8JQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.