Learn Ruby

Learn the Ruby programming language with this collection of Ruby tutorials. Complete practical projects and learn to use popular frameworks like Ruby on Rails.

All Ruby tutorials:

  1. AntiPatterns Basics: Rails Tests

    AntiPatterns Basics: Rails Tests

    Tutorial Beginner

    This article is an intro to the advanced waters of testing AntiPatterns. If you are a rather new to Test-Driven-Development and want to pick up a couple of...

  2. AntiPatterns Basics: Rails Models

    AntiPatterns Basics: Rails Models

    Tutorial Beginner

    If Design Patterns and AntiPatterns are rather new to you and you see yourself as being more on the beginner side of all things Ruby/Rails, then this one is...

  3. Rails Image Upload: Using CarrierWave and Devise

    Rails Image Upload: Using CarrierWave and Devise

    Tutorial Intermediate

    Enabling users to upload an avatar in your application is an important feature that should be enabled. In this tutorial, you will learn how to enable image...

  4. What Is Ruby on Rails?

    What Is Ruby on Rails?

    Tutorial Intermediate

    Wonder what all the hype is about? Come learn about the Ruby on Rails web development framework and what you can use it for.

  5. Building an Anonymous Slack Bot Using Ruby and Sinatra

    Building an Anonymous Slack Bot Using Ruby and Sinatra

    Tutorial Beginner

    In this tutorial, you'll learn how to make a simple Slack bot that lets users post anonymous messages on Slack channels.

  6. Ruby/Rails Code Smell Basics 02

    Ruby/Rails Code Smell Basics 02

    Tutorial Beginner

    This is part 2 of a small series about code smells and possible refactorings. The target audience I had in mind are newbies who heard about this topic and...

  7. Ruby/Rails Code Smell Basics 01

    Ruby/Rails Code Smell Basics 01

    Tutorial Beginner

    This is part one of a small series about code smells and how you can deal with them. Don’t worry if you’re new to this topic or just starting to code. I did...

  8. Improving the Performance of Your Rails App With Eager Loading

    Improving the Performance of Your Rails App With Eager Loading

    Tutorial Beginner

    Users like blazing fast applications, and then they fall in love with them and make them part of their life. Slow applications, on the other hand, only annoy...

  9. Ruby Page Objects for Capybara Connoisseurs

    Ruby Page Objects for Capybara Connoisseurs

    Tutorial Beginner

    A newbie-friendly intro to using the Page Object design pattern for your Capybara feature specs.

  10. Factory Girl 201

    Factory Girl 201

    Tutorial Beginner

    A more nuanced, in-depth look at how you can use factory objects for Test-Driven Development.

  11. Factory Girl 101

    Factory Girl 101

    Tutorial Beginner

    This is part one of a guide for using Factory Girl for test data. In this article you’ll learn about the most essential features to get you up and running....

  12. Rails Image Upload: Using CarrierWave in a Rails App

    Rails Image Upload: Using CarrierWave in a Rails App

    Tutorial Beginner

    The importance of enabling image upload in your Rails application cannot be underestimated. In this tutorial, you will learn how to enable image uploading in...