How to get started with Rails

I’ve got a buddy that wants to learn Rails. He doesn’t have much (if any) experience with web development, but he’s a smart dude and I expect he’ll be able to pick this stuff up quickly.

So, I’ve concocted a 3-part “getting started with Rails” class that he’s taking… where by “class he’s taking” I mean I’m sending him 3 emails, 1 at a time, and forcing him to go through all of the headaches and bullshit associated with “getting started” with as little help from me as possible. This is a good thing because it’ll take less of my time, sure, but mainly because you can’t learn anything about anything when someone is holding your hand the whole way through.

Step 1: Complete the Getting Started with Rails tutorial

First, I’ve sent my friend to the absolutely fantastic (and free!) Rails Guides. The instructions I’ve provided are essentially to skip the first “assumptions” section (since he’s using OS X) and to email me when he’s finished. This is a great way to get someone started quickly. Sure, they’re going to miss out on some of the finer points about the Ruby language itself, but we’ll come back to that after getting him hooked on Rails first.

Step 2: Push your app to GitHub and deploy it to Heroku

Second, I told my friend to figure out how to push his code up to GitHub for me to review, and then to deploy it to Heroku for me to play with. The hints I’ve given him are to start by installing Homebrew and then Git with Homebrew. This is a great way to get someone familiar with the tools they’re going to be using if they stick with Rails. Plus, I know from first-hand experience that there’s a great feeling of accomplishment associated with putting your first app up on the world wide webs.

Step 3: Make something

Third, I’ll be telling this friend to think up a project and to make it happen. This is the most important step, in my opinion. At this point, he knows the bare minimum necessary to “get started” so it’s time to remove the training wheels and to go for a ride. Of course, I’ll be available to help him out when he gets stuck along the way, but what better way is there to learn than by doing?

Extra credit

Finally, I have in mind 3 additional things that I’d like my friend to consider while he’s embarking on his journey. The first is to apply for membership into docrails, because he’s in a great position to help improve the documentation and guides with his fresh set of newbie eyes. The second is to read the fanatically helpful (and short) Learn to Program book. This should help fill in the gaps that we smoothed over when we skipped ahead to building Rails apps right out of the gate. Finally, I’ll guilt him into reading the Guide to Testing Rails Applications because testing is super important ๐Ÿ˜‰


That’s about it, then. I’m hoping that this little strategy will work, and I’m interested in hearing your experiences about getting people started with Rails or web development in general. Shouldn’t there be some kind of online school for this sort of thing? It surely doesn’t take a masters degree in computer science to get started building web apps, but I feel like there’s some kind of middle ground that’s missing…


Published by

Trevor Turk

A chess-playing machine of the late 18th century, promoted as an automaton but later proved a hoax.

9 thoughts on “How to get started with Rails”

  1. Most of the material you need is available on the web, learning to learn using google's a good skill for someone to pick up.

    Also – rails mentors is a good place to find someone willing to help you, and #ror and #railsbridge on Freenode are full of smart people too ๐Ÿ™‚

    I've jumped straight in at rails 3 and the learning process is working out pretty well for me so far.

  2. Well, I mainly taught myself but also had a little help from some rails friends. The biggest thing to get me over the hump were the two super cheap Peepcode Intro to Rails screencasts. I would tell someone to do that first. Then I would tell them to read my blog post about what I used to get off the ground with rails:

    Learn Ruby on Rails Fast – Resources

    I wrote about mainly beginner stuff for any rails apps like view stuff and date display handling. Since most people make some sort of blog/post type app first to get a handle on things.

  3. I'd really like someone to push me into Rails 3. I did the "Getting started" in 2005/6 or so, bought the Rails Agile Development book (rails 1 , i think), but never made it.

    If i want to build a simple site with some mysql table maintenance, some dynamic ajax (js/jquery whatever), a user registration, some admin stuff .. what would i require.

    Could someone outline your learning process. What links, tutorials, plugins/modules/gems etc.

  4. If you haven't seen or heard of it already I would definitely suggest checking out

    It covers all the bases – environment setup, git, heroku deployment, and rails dev in some depth. I like that it covers all the development in a TDD style too, something I've seen glossed over by too many other beginner guides/tutorials.

Comments are closed.