Hello again, how can I get my current IP address using Ajax helpers, in rails ? I have found solution to get it with java functions :
@client_ip = request.remote_ip
Thanks to answer so quickly ! But, is it possible to get it with javascript, instead of ruby ? (if an ajax helper exist for that...)
you can use $ip = $_SERVER['REMOTE_ADDR']; in php script then get it with ajax