Get Started Now!
Buy as Course or DownloadsFull online version of the tutorial, embedded streaming videos for all sections, exercises with editable answers, progress tracking, and membership in the Learn Enough Society (community exercise answers, private chat group). Pause your subscription at any time!
Downloadable offline versions of the book and screencast videos are available as an a la carte purchase. When you purchase the offline versions, there is no subscription required and the files are yours to keep forever!
Learn Enough is a tech education company founded by Michael Hartl, Lee Donahoe, and Nick Merwin to teach essential technical skills for the 21st century. Learn Enough offers ebooks, videos, and online courses covering subjects such as the Command Line, Text Editor, Git, HTML, CSS & Layout, JavaScript, and Ruby.
The culmination of the Learn Enough curriculum is learning professional-grade web development with—you guessed it!—the Ruby on Rails Tutorial.
You can get all of the Learn Enough tutorial courses for one monthly price with the Learn Enough All Access Subscription. The All Access subscription includes all 9 Learn Enough courses, including the full Ruby on Rails Tutorial. Get online book content, hours of streaming videos, exercise answers, and more!
Learn Enough offers a generous scholarship program to help out in case cost is a factor. We’ve already awarded over 1500 Learn Enough Scholarships to a wide variety of recipients, including students, people between jobs, and residents of countries with unfavorable exchange rates. Applications are quick, easy, and 100% confidential. Learn More
All Learn Enough tutorials come with a 60-day 100% money-back guarantee. If for any reason you aren’t satisfied with any tutorial purchase, just let us know and we’ll refund your payment.
Learn to Make a Real Web Application
In the Ruby on Rails TutorialWith the foundations laid by the previous Learn Enough tutorials, you're now ready to learn how to develop dynamic web applications. You’ll start by learning the elegant Ruby programming language, using it both for general-purpose programming and to make a simple web application. Then you’ll learn how to make professional-grade web applications with Ruby on Rails using the Rails Tutorial, the leading introduction to web development with Rails. In a final optional tutorial, you’ll learn how to use Action Cable to make real-time web apps that respond instantly to user input. By the time you finish these courses, you'll be ready to start work as a freelancer, get a job as a developer, or start a web-based company of your own.
Want to buy the downloadable version of all the tutorials in the bundle, check out our bundled download options!
The Ruby on Rails Tutorial teaches you how to develop custom web applications with the popular Ruby on Rails web framework. Since its launch in 2010, the Ruby on Rails Tutorial has been the leading introduction to web development with Rails.
The Ruby on Rails Tutorial is designed to give you a thorough introduction to web application development, including a basic grounding in Ruby, Rails, HTML & CSS, databases, version control, testing, and deployment—sufficient to launch you on a career as a web developer or technology entrepreneur. If you already know web development, this book will quickly teach you the essentials of the Rails framework, including MVC and REST, generators, migrations, routing, and embedded Ruby.
The Ruby on Rails Tutorial takes an integrated approach to web development by building three example applications of increasing sophistication, starting with a minimal hello app, a slightly more capable toy app, and a real sample app. The emphasis throughout the tutorial is on general principles, so you will have a solid foundation no matter what kinds of web applications you want to build.
In the first chapter, you’ll get started with Ruby on Rails by installing all the necessary software and by setting up your development environment. You’ll then create your first Rails application. The Rails Tutorial emphasizes good software development practices, so immediately after creating your fresh new Rails project you’ll put it under version control with Git. And, believe it or not, in the chapter you’ll even put your first app on the wider web by deploying it to production.
In Chapter 2, you’ll make a second project, whose purpose is to demonstrate the basic workings of a Rails application. To get up and running quickly, you’ll build this toy app using an automatic code generator; because this code is both ugly and complex, Chapter 2 will focus on interacting with the toy app through its URLs using a web browser.
The rest of the tutorial focuses on developing a single large real sample application, writing all the code from scratch. You’ll develop the sample app using a combination of mockups, test-driven development (TDD), and integration tests. You’ll get started in Chapter 3 by creating static pages and then add a little dynamic content. You’ll take a quick detour in Chapter 4 to learn a little about the Ruby language underlying Rails. Then, in Chapter 5 through Chapter 12, you’ll complete the foundation for the sample application by making a site layout, a user data model, and a full registration and authentication system (including account activation and password resets). Finally, in Chapter 13 and Chapter 14 you’ll add microblogging and social features to make a working example site.
The result is a thorough grounding in web application development that will serve you well as a technical manager, entrepreneur, or professional software developer.
saying nice things!
3rd edition of @mhartl's much celebrated The Ruby on Rails Tutorial is in out in draft: http://t.co/LhCMhuNEcR — looks like a great upgrade!
— DHH (@dhh) August 29, 2014
This is a strong introduction into Text Editor usage for programming. By the end of it you will have a base knowledge to be able to utilize the various text editors available, and be informed enough to know if this is something more that you want to pursue.
A very well-written book.
I would recommend it for the novice as it provides a very quick but comprehensive overview of the 3 different categories of editors i.e. well established editors (vim, EMACS), modern editors (Sublime Text, Atom) and cloud editors (c9). The book provides enough detail to comfortably start using both vim and Atom.
In addition, I think it would be useful for people who have been using editors for years. As some one who has grown up with vim and eclipse-based IDE editors for code development, Michael’s very informative book was excellent in motivating me to start using Atom again.
I had toyed with cloud editors before, but this book motivated me to try the c9 editor.
Most importantly, I found the book fun to read, educational and useful straight away.
This is a great book as an intro to text editors in coding. In Learn Enough Text Editor to Be Dangerous, Michael Hartl has a unique approach, emphasizing core principles and technical sophistication, rather than rote learning. All the Learn Enough series tutorials share this approach in a way that makes them consistent yet complementary, not repetitive. Each of the skills in the series touches on and supports the others, but all are complete by themselves.
I stumbled upon your website by luck a couple weeks back and since then I have gone through the Developer Fundamentals series, which I have to say exceeded my expectations and filled in many gaps in my knowledge which multiple other online tutorials failed to do.
Q: What is Jimmy Wales' favorite book?
A: It changes often. At the moment, it’s Ruby on Rails Tutorial by Michael Hartl. :)
The tutorial is very well written, easy to follow and enjoyable. One thing I especially like is the way you not only learn the basics of the subject (HTML in this case) but also get a flavour of how to actually think about and begin a project developing a website. It also builds on ideas and processes for collaborating on such projects with other people.
I’ve done quite a few tutorials about HTML and I found this one to be the easiest to follow while giving me the most sophisticated understanding of the important points in HTML. It was also great practice for my Git skills, as it builds on the previous Learn Enough Git tutorial. I wouldn’t really recommend any other place to start off from than this Learn Enough series.
Very happy with this new tutorial by Michael Hartl. It follows the same structure as the rest of his tutorials. Having done quite a lot of HTML and other related coding tutorials online myself, I find them to be the best so far. They offer a truly immersive experience and explain everything A to Z, from getting started to everything you need to know to have whatever you are building up and running.
I must say, this Learn Enough series is a masterpiece of education. Thank you for this incredible work!
I must say, this Learn Enough series is a masterpiece of education. Thank you for this incredible work!
I want to thank you for the amazing job you have done with the tutorials. They are likely the best tutorials I have ever read.
I have been trying to learn web development and programming on and off for the past 3 years and your website is the first one that I feel does the job right.
Just bought the new ebook and want to say keep up the great work!! The Learn Enough to Be Dangerous series re-ignited my desire to code after 10+ years of “meh”.
The Learn Enough Society and the courses are incredible. It’s the best value in the market of online courses in my opinion. Like you say, it’s learning to tech, which is very useful in our world.
I just meant to tell you: your tutorial books from the Learn Enough series are awesome! The books are well-written, clear, concise, super-useful, and even fun to read. Thank you so, so much for this! I have bought the first three and will buy whatever you publish next. Keep up doing this very good work and thanks again.
Have been following the whole “Learn Enough to Be Dangerous” series and am VERY impressed with it. I am a project manager who works with software developers daily. These sessions have provided me with a huge amount very useful information, to the extent that I now not only understand what the dev guys are talking about, but am starting to use the tools (command line, Git, etc.) that they use.
Michael Hartl is one of the best educators around when it comes to web development. I have been following him for a long time, and everything he produces is top quality. If you are looking for a quick way to become a thorough and productive professional web developer, Hartl’s books are a great place to start.
Hi, my name is Philip, and I’m a beginning learner of web development. I’ve dabbled in small ways in Ruby/Rails for about a year and a half. Occasionally, I write ruby scripts to solve problems at my job. I also dabble in learning: JavaScript, Ember, more Ruby/Rails, brief intro readings into Scala.
I’ve tried Codeschool, Codecademy, and I’ll stop there, so you don’t spend the next 3 hours reading all the different learning resources I’ve tried.
Ruby on Rails Tutorial (Rails 5) is undoubtedly, the most effective and educational resource I’ve ever come across when it comes to learning anything about web development or writing any code on any level.
Here’s what you seem to understand that everyone else just gets wrong: There’s a big spectrum between the very beginner basics: declaring variables, to voodoo, magical, incantational trickery of witchcraft, like building your own web server.
Almost all tutorials make this mistake. The first couple “lessons” are good for people who don’t even have a clue what computer programming is and then suddenly, there’s a big jump to what seem to be concepts that only seasoned developers have mastered.
Thanks for such a great, educational guide in Ruby on Rails.
Get free access to all 9 Learn Enough courses (including the Ruby on Rails Tutorial) for 7 days!
We require a credit card for security purposes, but it will not be charged during the trial period. After 7 days, you will be enrolled automatically in the monthly All Access subscription.
BUT you can cancel any time and still get the rest of the 7 days for free!
All Learn Enough tutorials come with a 60-day 100% money-back guarantee.