# Helpers in rails to get URL (using AJAX)

**URL:** <https://www.ruby-forum.com/t/helpers-in-rails-to-get-url-using-ajax/147039>\
**Category:** Rails\
**Created:** [August 27, 2008, 10:12pm UTC](https://www.ruby-forum.com/t/helpers-in-rails-to-get-url-using-ajax/147039 "2008-08-27T22:12:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thib21](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/90db22/32.png) [@Thib21](https://www.ruby-forum.com/u/Thib21)\
**Post date:** [August 27, 2008, 10:12pm UTC](https://www.ruby-forum.com/t/helpers-in-rails-to-get-url-using-ajax/147039/1 "2008-08-27T22:12:47Z")

</div>

Hello all,  
I am trying to get (using Ajax) the URL which is sent to the server  
when I click on a button/link  
Also, I want to store the results from this URL request  
Did somebody know helper in Rails which allow me to do that ?  
In the same way, how can I get my current IP address using Ajax, in  
rails ?

Thanks,  
Thib
