# reCAPTCHA link\_to\_remote issues

**URL:** <https://www.ruby-forum.com/t/recaptcha-link-to-remote-issues/141110>\
**Category:** Rails\
**Created:** [June 22, 2008, 4:07am UTC](https://www.ruby-forum.com/t/recaptcha-link-to-remote-issues/141110 "2008-06-22T04:07:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![indigoi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b3f665/32.png) [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Post date:** [June 22, 2008, 4:07am UTC](https://www.ruby-forum.com/t/recaptcha-link-to-remote-issues/141110/1 "2008-06-22T04:07:40Z")

</div>

when i try to render a partial containing \<%= recaptcha\_tags %\> using  
link\_to\_remote on my website, something goes haywire and the captcha  
never shows up. When i render the partial not using an ajax call, it  
works great. But what’s the point of having a super simple to use  
capatcha plugin, if you can’t render it in an ajax form??? If anyone has  
experince with this or knows how to fix the problem, let me know.  
Thanks!!

---

<div class="post-metadata">

**Author:** ![indigoi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/b3f665/32.png) [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Post date:** [August 19, 2008, 3:26pm UTC](https://www.ruby-forum.com/t/recaptcha-link-to-remote-issues/141110/2 "2008-08-19T15:26:25Z")

</div>

Hi,

1. get the latest version of recaptcha plugin from  
[GitHub - ambethia/recaptcha: ReCaptcha helpers for ruby apps](http://github.com/ambethia/recaptcha/tree/master) (or just grab  
lib/recaptcha.rb)
2. include ‘[http://api.recaptcha.net/js/recaptcha\_ajax.js](http://api.recaptcha.net/js/recaptcha_ajax.js)’ javascript  
file in your template
3. use it like this \<%= recaptcha\_tags :ajax =\> true → in your partials

I know it’s quick and very dirty buts works for me.
