Cover of Ruby on Rails tutorial

Ruby on Rails tutorial

by Michael Hartl · first published 2012

314mentions
205recommended by
239HN commenters
2009–2026first – last mentioned

86% recommend13% neutral1% critical

Why HN recommends it

Hands-on, project-based walkthrough that builds a real app from database to frontend, including environment setup, git, and deployment. Suits beginners and newcomers to Rails; free online and keeps learners motivated.

Common criticism: Setup and version issues; some material, like Cloud9 instructions, is outdated

Summarised by Claude from recommending comments

Provides information on building Web applications using Ruby on Rails.

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

470 2007: 0 mentions2008: 0 mentions2009: 1 mention2010: 33 mentions2011: 47 mentions2012: 40 mentions2013: 35 mentions2014: 17 mentions2015: 7 mentions2016: 16 mentions2017: 7 mentions2018: 11 mentions2019: 16 mentions2020: 9 mentions2021: 6 mentions2022: 10 mentions2023: 6 mentions2024: 1 mention2025: 2 mentions2026: 1 mention200720172026

What Hacker News says

  • rman666 · Jun 30, 2012 · Recommends

    I'm a beginner (hobbyist) Rails developer. I've gone through many of the available tutorials, such as Michael Hartl's excellent Ruby on Rails Tutorial at http://ruby.railstutorial.org/ (both editions, books, and screencasts). I can build and understand simple CRUD-type applications with associations with no problems. Now, I want to "scratch my own…

    on “Ask HN: How can I learn "advanced" data modelling for Rails?” ↗
  • CoachRufus87 · Dec 2, 2010 · Recommends

    …afford it), recruited 1 cs buddy I went to high school with (he was busy doing his own things), so I figured I had no choice but to learn to program. I found HN, which introduced me to Michael Hartl's Ruby on Rails Tutorial, and I just launched my first app: http://www.fanscription.com Oh, and I'm an Econ/Business Major. "Just Do It" -Nike

    on “I just need a programmer” ↗
  • pgm8705 · Jan 10, 2019 · Recommends

    This feels overwelming. While I realize Rails isn't the cool thing in the web space anymore, I'm still convinced the best way to get someone into web development is to sit them down with Michael Hartl's Ruby on Rails tutorial and have them go through it any number of times. I've turned several zero-experience friends and/or interns into career web developers this way.

    on “Roadmap to becoming a web developer in 2019” ↗
  • cantbecool · Jun 27, 2011 · Recommends

    This reminds me of Ruby on Rails Tutorial by Michael Hartl. I love the idea of the book being online in HTML for free, but you can pay for a better learning experience: screencasts, PDF files, and online training courses.

    on “Learn Python The Hard Way 2nd Edition Released” ↗
  • jsnk · Sep 28, 2011 · Recommends

    In my case, I learned Rails from Ruby on Rails Tutorial by Michael Hartl. I love the fact that he assumes no knowledge from the reader, and make sure the reader doesn't make mistakes along the way.

    on “Ask HN: Your favorite resources for learning Rails” ↗
  • thetabyte · Jul 2, 2012 · Recommends

    …storage and the like. Many exist (Django for Python, Rails and Sinatra for Ruby, etc), but as a personal recommendation, Rails is extremely powerful and has a vibrant community. Plus, Michael Hartl's Ruby on Rails tutorial is available in HTML as a free book, and will walk you through every step of creating a web app.

    on “Ask HN: Best HTML5/CSS3/JavaScript books/tutorials for a kernel engineer?” ↗
  • DwnVoteHoneyPot · Jan 14, 2022 · Recommends

    Tutorials do exist for absolute beginners. Seems like the author is implying they rarely exist which is incorrect. "Hello world" is a tutorial/real world example. I learnt the how to code through the "Ruby on Rails Tutorial" by Michael Hartl. The tutorial market is different than the computer science 101 crowd, so you have tutorials for one, textbooks for the other. The issue with using tutorials in textbooks is that it's…

    on “Teaching how to code is broken” ↗
  • rmundo · Jun 16, 2010 · Recommends

    …to access the resources a college can provide. Start looking into summer internships. Good way to establish contacts, find mentors, and get a guided introduction to the field. Take a look at Hartl's Ruby on Rails tutorial. The book is free, online, and walks you through the stages of building a simple twitter-like client. It's amazing the things you can do with high-level tools these days. There are some good books on…

    on “I'm 19 and I need advice” ↗
  • slee029 · Apr 4, 2011 · Recommends

    …should play around with price, but I also believe Zed could be leveraging his free tutorial to market another service later on. For example, while this isn't an intro to python book, Michael Hartl's Ruby on Rails Tutorial I think provides an excellent revenue model for authors. Basically he provides a free online tutorial that he cross-subsidizes with charging on the premium screencasts and pdf/hardbook editions. I read…

    on “335k downloads of Learning Python The Hard Way” ↗
  • tryitnow · Nov 23, 2011 · Recommends

    …story is different. I would put my toe in the water and try to learn to program, but it all just seemed so absurd to me, so I pursued other areas of study. Then earlier this year I started doing Hartl's Ruby on Rails tutorial and things just started clicking. Now I am teaching myself Ruby on Rails and I am looking for explore other more difficult languages (just for fun, I don't want a career as a developer). For whatever…

    on “How I Became a Programmer in ~12 Weeks” ↗
  • ag80 · Oct 3, 2013 · Recommends

    She mentions specifically the Ruby on Rails Tutorial by Michael Hartl. This tutorial has a section on creating secret tokens within the first three chapters (while leaving in-depth discussion of it for later chapters), and starts discussing concepts like…

    on “After 180 Websites, I’m Ready to Start the Rest of My Life as a Coder” ↗
  • mercer · May 23, 2016 · Recommends

    …'academy' alongside my business and I picked Rails for them to learn for the following reasons: 1. it's easy to get something up and working, which for a lot of students helps keep them motivated 2. Hartl's Ruby On Rails Tutorial. So far, it's the best book/course on how to get from knowing pretty much nothing to being able to work in a 'modern' dev setting (good editor, git, bitbucket, testing, backend, front-end, etc.). 3. if…

    on “My time with Rails is up” ↗
  • criddell · Mar 3, 2017 · Recommends

    If I were teaching, I would definitely look at something like Cloud9. I'm in the process of going through Michael Hartl's Ruby on Rails tutorial based on Cloud9 and I'm blown away by how good it is.

    on “Apple’s Devices Lose Luster in American Classrooms” ↗
  • StephenCanis · Apr 20, 2019 · Recommends

    Your Audio Tour (https://www.youraudiotour.com) is making about $120 in recurring monthly revenue. I built it using Micheal Hartl's online ruby on rails tutorial which I would HIGHLY recommend.

    on “Ask HN: One-person SaaS apps that are profitable?” ↗
  • intertextuality · Apr 29, 2019 · Recommends

    …Grounded Rubyist and I've heard Eloquent Ruby is also good. Design Patterns in Ruby is less about ruby and more about design patterns, but still a good read. I learned a lot about Rails from Michael Hartl's Ruby on Rails Tutorial book. I learned the most through doing, though. I would work on building my own website and looked up anything I didn't know.

    on “Lambda School wants to teach nursing” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help