简体   繁体   English

在Rails 2.3.12应用程序中实现reCaptcha

[英]Implementing reCaptcha into a Rails 2.3.12 app

I need to implement reCaptcha into a Rails app form for my internship. 我需要在实习中将reCaptcha实施到Rails应用程序表单中。 Unfortunately I am still taking my Web Programming classes and haven't gotten into any server side lessons yet, so I am still a complete noob when it comes to submitting forms and sending requests to servers, let alone not using RoR before I started the internship. 不幸的是,我仍在上Web编程课程,还没有参加任何服务器端课程,因此,在提交表单和向服务器发送请求时,我仍然是一个菜鸟,更不用说在开始实习之前不使用RoR了。 。 I have been trying to find a tutorial to follow, but all that I've found assume more experience with web development. 我一直在尝试寻找一个可以遵循的教程,但是我发现的所有内容都假定了更多的Web开发经验。

I have the public/private keys from the site and have installed the plugin, but am completely lost now. 我从网站上获得了公钥/私钥,并且已经安装了插件,但是现在完全迷路了。 Obviously I don't want someone to just tell me what I should code, but if someone could tell me where I need to go after this that would be fantastic. 显然,我不希望有人告诉我应该编写什么代码,但是如果有人可以告诉我在此之后我需要去哪里,那将是很棒的。 I know that I need to add <%= recaptcha_tags %> where I want reCaptcha to appear, but I haven't been able to find anything pertaining to what I need to code for the helpers or what kind of JavaScript I need to implement. 我知道我需要在要显示reCaptcha的位置添加<%= recaptcha_tags %> ,但是我找不到与我需要为助手编写代码或需要实现哪种JavaScript有关的任何内容。 I know I need to do some AJAX calls, but again, NO idea what to do or where to start. 我知道我需要进行一些AJAX调用,但同样,不知道该做什么或从哪里开始。

Any tips, pointers or references to tutorials would be fantastical and I would love you forever and a day. 任何有关本教程的技巧,指针或参考都将是梦幻般的,我将永远爱你一整天。 Thanks! 谢谢!

look here https://developers.google.com/recaptcha/docs/customization 看看这里https://developers.google.com/recaptcha/docs/customization

http://hwork.org/2009/03/08/recaptcha-on-rails/ http://blog.ncodedevlabs.com/2010/01/26/implementing-recaptcha-in-your-rails-app/ http://hwork.org/2009/03/08/recaptcha-on-rails/ http://blog.ncodedevlabs.com/2010/01/26/implementing-recaptcha-in-your-rails-app/

or the best place : http://google.com 或最佳地点: http : //google.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM