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!
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
Related
I have been learning rails for over 4-5 months.I would say i am intermediate(ish) on rails.Past week, i got interested in angular2.Since it is written in TypeScript, it was little diffrent for me.Can rails do what angular2 can do? I mean single page app things? Should i invest the time to learn it, or just move along with rails? And if i leave angular2, can i still make single page rails apps?
I know this might not be the place for this question, but i haven't got an answer from quora for past 4 days.This question really bothering me mentally and psyhically. It is bothering my mind, and preventing me to learn anything at all.Please help.
Angular is a client side app only.
Rails is a server side app.
Rails would be the more complete package as it can accomplish everything Angular can in it's own way.
There's no definitive answer for this but it really just comes down to what your project's requirements are.
Angular is great for font-end single page client side apps.
Rails is great for server side, database ORM etc.
With that being said there's nothing stopping you from using both in one app. It's a little too broad to cover here.
I am attempting to understand how segmented apps work so I'm building one that uses rails for the back-end api and node.js for the front and middle. What I am trying to figure out is how to let a user log in through rails and use that same session information in the node app.
I have heard of oauth2, but I don't know if that's what I need or if I need something else. My main concern is that I want to keep all the models in the rails app so I can take advantage of the syntactic sugar and associations that rails provides. The node app will just connect to the rails app through it's api.
Are there any tutorials out there for this? Or does anyone know how I can do it?
Found my answer here. Hope it can help someone else out
What does it mean if my web designer says this," I built custom site with RoR and rails NodeJs angularJs ember backbone fullstack meteor"?
I wanted him to edit an HTML5 template and after some back and forth that was his response. What do those things mean?
Those are different programming/scripting languages that he has built websites/apps in... I find it interesting that after telling you about all the JavaScript he has played with he didn't quite say he had the HTML5 experience you are needing. If you can't understand him now you probably wont have any better luck if you hire him to edit the template. You need to find someone you can communicate with efficiently.
I am doing a project on creating a lab application for a next generation sequencing data using ruby on rails.
The main idea my boss suggests me to do is to have users fill in their details and submit to us. After the submission, the administrator, i.e. me, would send them a password which they can use to login my application. could some one help me with the idea of development. I am naive to ruby on rails and would be very grateful for people who help me.
thank you and cheers
I would start with Michael Hartl's RailsTutorial. Not only did I find it the best way to get started - the application he builds includes a bombproof user security model, just as you require, and so you'd be both learning and developing something relevant at the same time.
I'd also recommend buying the videos, as well as the book. They make all the difference.
Are you new to the whole web development thing or is it just Ruby on rails that you have no knowledge of?
If the former, I'd suggest googling some Ruby tutorials on how to make a simple web application and build from there. Start by a simple "Hello world" application, then proceed to handle submitted forms, then install and use a database and by then you should have the basic knowledge to build what you want.
If the latter, could you specify, what parts you need help with? Ruby is syntactically quite easy to learn if you just take a look at some tutorials, so that shouldn't pose any problems. You have described a simple use case which I'm sure you can handle in a new environment, if you just have the patience to try and learn.
I'm looking to develop my first Facebook application and therefore looking for some advice on where to get started.
I've spent a few hours browsing Facebook's Developer Wiki, Facebooker library, looking at the sample chapters in "Developing Facebook Applications with Rails" by Pragmatic Programmers, etc.
Since FB is constantly changing their API, and Facebook Connect is newer than the aforementioned book, does anyone have any advice on where to get started?
Create a Facebook app and new Rails app and play around with integrating Connect using Facebooker.
Getting these components to work will help you understand the FB application configuration process, loading the appropriate javascript files, and figuring out how to read the FB session in an Rails app.
Once you have that figured out try creating a normal FB IFrame app.
One of the things that I think is super important is to try to keep your focus pretty narrow when getting started. If you try to tackle learning: ruby, rails, facebook api, facebook gems, web development, html, css all at the same moment you'll probably get burnt out and give up. Holy smokes that's a lot of stuff to learn! The trick you should do is figure out how small chunks until you get it a little, then move onto the next thing. Keep your goals super small.
How I would do it if I were you:
Start by building a new rails application
Then learn how to build a landing page in rails
Then make it look good with html and css
Then learn how to make it better with something like bootstrap (and learn about gems)
From there you could look into calling a simple API from facebook, and the facebooker gem.
Getting started with Ruby on Rails is something that is a little daunting at first, but after you get started it gets a lot easier. After running Ruby on Rails bootcamps for Startup Accelerators, Harvard Business School, in Times Square, Boston, and Pittsburgh, I started http://www.firehoseonline.com. It's a video tutorial to get started, so you should check out that site.
My advice is to learn as much as you can by actually writing the code. Don't get caught up too much in the details and the specifics. If a tutorial gives you some code to write, and some information, and you don't absorb all the information at first, keep going. Afterwards go back to the material, and once you have gone through the whole process of writing your first application a lot of the pieces will fit together.