Getting remote ip

Hi all,

i have a situation where i ask user a question and i dont want a user
to
reply to it more than once,i dont have a login system so i
am thinking of keeping track of a user by ip address.

how can i get remote ip in rails??

Thanks in advance

regards
gaurav

Try request.remote_ip

Cheers,
Carl.

On 11/14/06, gaurav bagga [email protected] wrote:

regards
gaurav


Carl W.
0412218979
[email protected]

thanks that worked