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
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
>
>
2 matches
Mail list logo