You have to make a choice. Choose...wisely.

Get occasional notifications about things like product discounts, blog posts, and new or updated tutorials. Unsubscribe at any time.

Gift Delivery Options
Quick Checkout
or Pay by Credit Card
Error processing your payment
  • You didn't choose whether or not to be added to the mailing list
Confirm
$0.00

Payments and credit card details are securely managed and protected by Learn Enough's payment processor, Stripe. More information on their site:

CART
Total
$0.00

Your Cart is Empty

$30
$300
$300
$XY
$XY
1234

Optimize programmer happiness with Ruby

Learn Enough Ruby Application Development 02
Learn Enough Ruby to Be Dangerous teaches you to write practical and modern programs in Ruby, a powerful object-oriented programming language especially common in web development. Learn interactive Ruby, shell scripting, and beginning web development—useful standalone skills that are also the perfect preparation for the Ruby on Rails Tutorial. Read full post
- or -
↓ SCROLL DOWN TO LEARN MORE ↓
ebooks
330 pages
screencasts
7 hours
course
10 chapters
 
57 videos
 
82 exercises

Get Started Now!

Course Subscriptions

$ 29
per month
Course

Full 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!

$ 39
per month billed annually
All Access Subscription
All Access Subscription includes the course version of all the tutorials (streaming video, exercise answers, and progress tracking), and access to the Learn Enough Society to get help if you need it
MORE INFO
Need a little help?

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

Money-Back Guarantee

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.

Your programming journey starts

With the Ruby Tutorial


Tutorial 02 in the
Application Development Series

With the foundations laid by the previous Learn Enough tutorials, you’re now ready to learn how to develop larger software systems, including dynamic web applications. You’ll start by learning either Python or Ruby (or both), using them for general-purpose programming and to make a simple web application. With Python, you’ll also learn key Python tools for the fast-growing field of data science. Learning Ruby, meanwhile, leads naturally into the Ruby on 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.

An elegant choice

Programming doesn't need to be painful

Ruby is an elegant object-oriented programming language with applications ranging from shell scripting and package management to full-stack web application development. Learn Enough Ruby to Be Dangerous is designed to get you started writing practical and modern Ruby programs as fast as possible, with a focus on the real tools used every day by software developers.

Learn Enough Ruby to Be Dangerous broadly follows the structure of Learn Enough JavaScript to Be Dangerous, which can be studied either before or after this tutorial. Because many of the examples are the same, the tutorials reinforce each other nicely—there are few things more instructive in computer programming than seeing the same basic problems solved in two different languages.

To be productive with Ruby, you don’t have to know everything about it—you just have to learn enough to be dangerous.

Ruby basics

The simple beauty of Ruby

Learn Enough Ruby to Be Dangerous gets off to a quick start by deploying a simple but real dynamic site to the live Web. You’ll also learn how to use Ruby to write a simple shell script and to execute Ruby interactively using a Read-Eval-Print loop (REPL). En route, you’ll discover that you already own the best interactive system for learning Ruby—a computer!

Common data structures

How to manage and handle data

Next, you’ll take a tour of common data structures in Ruby, including Strings, Arrays, and other native objects like Hashes and Regular Expressions. These structures form the essential building blocks for longer programs.

Functions, objects, and classes

Perform actions in an efficient way

You’ll then learn about functions, objects, and classes. This section of the tutorial includes the rarely taught but elegant and hugely valuable set of techniques called functional programming—the same kind of programming used by Google to process data from the Web. You’ll also learn about the important practice of test-driven development en route to writing and publishing a simple Ruby library (or “gem”).

Shell scripting and Sinatra

Put the power of Ruby into action

The final chapters of Learn Enough Ruby to Be Dangerous cover full-strength shell scripting and introduce Sinatra, a simple and easy-to-learn web framework. You’ll end by using Sinatra to make and deploy a working web application. The result is a well-rounded command of Ruby that is especially good preparation for learning professional-grade web development with a resource like the Ruby on Rails Tutorial.

Is all of this…

Sounding good?

Happy people

saying nice things!

Jimmy Wales Founder, Wikipedia

Q: What is Jimmy Wales' favorite book?

A: It changes often. At the moment, it’s Ruby on Rails Tutorial by Michael Hartl. :)


Quora link
About the Ruby Tutorial
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Ruby and Sinatra and Heroku, oh my! Almost done with this live web application. It may be a simple palindrome app, but it&#39;s also simply exciting! 2/100 <a href="https://twitter.com/hashtag/100DaysOfCode?src=hash&amp;ref_src=twsrc%5Etfw">#100DaysOfCode</a> <a href="https://twitter.com/hashtag/ruby?src=hash&amp;ref_src=twsrc%5Etfw">#ruby</a> <a href="https://twitter.com/LearnEnough?ref_src=twsrc%5Etfw">@LearnEnough</a> <a href="https://twitter.com/hashtag/ABC?src=hash&amp;ref_src=twsrc%5Etfw">#ABC</a> <a href="https://twitter.com/hashtag/AlwaysBeCoding?src=hash&amp;ref_src=twsrc%5Etfw">#AlwaysBeCoding</a> <a href="https://twitter.com/hashtag/sinatra?src=hash&amp;ref_src=twsrc%5Etfw">#sinatra</a> <a href="https://twitter.com/hashtag/heroku?src=hash&amp;ref_src=twsrc%5Etfw">#heroku</a></p>&mdash; Tonia Rudi (@toninjaa) <a href="https://twitter.com/toninjaa/status/1071184105335910400?ref_src=twsrc%5Etfw">December 7, 2018</a></blockquote>
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Just started the <a href="https://twitter.com/hashtag/100DaysOfCode?src=hash&amp;ref_src=twsrc%5Etfw">#100DaysOfCode</a> journey. Today marks day 1, I have completed <a href="https://twitter.com/mhartl?ref_src=twsrc%5Etfw">@mhartl</a> great Ruby tutorial at <a href="https://twitter.com/LearnEnough?ref_src=twsrc%5Etfw">@LearnEnough</a> looking forward to starting on RoR from tomorrow. Onwards and upwards.</p>&mdash; Optimize Prime (@ed_kinging) <a href="https://twitter.com/ed_kinging/status/1118153803809869824?ref_src=twsrc%5Etfw">April 16, 2019</a></blockquote>