在 Rails 2.3.12 应用程序中实现 reCaptcha

发布于 2024-12-07 05:25:06 字数 452 浏览 0 评论 0原文

我需要将 reCaptcha 实施到 Rails 应用程序表单中以进行实习。不幸的是,我仍在上 Web 编程课程,还没有进入任何服务器端课程,所以在提交表单和向服务器发送请求方面我仍然是一个完全的菜鸟,更不用说在开始实习之前不使用 RoR 。我一直试图找到一个可以遵循的教程,但我发现的所有教程都假设有更多的 Web 开发经验。

我有来自该网站的公钥/私钥并安装了该插件,但现在完全迷失了。显然,我不希望有人只是告诉我应该编码什么,但如果有人能告诉我在此之后我需要去哪里,那就太棒了。我知道我需要在我希望 reCaptcha 出现的位置添加 <%= recaptcha_tags %> ,但我无法找到与我需要为助手或代码编写的内容相关的任何内容我需要实现什么样的 JavaScript。我知道我需要执行一些 AJAX 调用,但同样,我不知道该做什么或从哪里开始。

任何提示、指示或教程参考都很棒,我会永远爱你一天。谢谢!

I need to implement reCaptcha into a Rails app form for my internship. 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. I have been trying to find a tutorial to follow, but all that I've found assume more experience with web development.

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. I know I need to do some AJAX calls, but again, NO idea what to do or where to start.

Any tips, pointers or references to tutorials would be fantastical and I would love you forever and a day. Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

走过海棠暮 2024-12-14 05:25:06

看这里
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://google.com

look here
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/

or the best place :
http://google.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文