[Rails] Re: Capturing an IP Address

2009-02-24 Thread MaD
on your local machine it might give you the ip of your lan/intranet (from your router). on your server you get the external one given to you by your isp. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails

[Rails] Re: Capturing an IP Address

2009-02-24 Thread Shs Hhh
Tore Darell wrote: > On Mon, 2007-10-15 at 13:38 +, blackangel6...@gmail.com wrote: >> How do I capture an IP address and send it into a database field? >> There is no DRY convention for this like a password_confirmation for >> example right? >> > > model.ip_address = request.remote_ip > >