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 content:

  1. Exploring Rack

    Exploring Rack

    Tutorial Beginner

    If you're a Ruby programmer who has done any kind of web development, you've almost certainly used Rack, whether you know it or not, as it's the foundation...

  2. Mass Assignment, Rails, and You

    Mass Assignment, Rails, and You

    Tutorial Beginner

    Early in 2012, a developer, named Egor Homakov, took advantage of a security hole at Github (a Rails app) to gain commit access to the Rails project. His...

  3. Active Record: The Rails Database Bridge

    Active Record: The Rails Database Bridge

    Tutorial Intermediate

    In the past, to build a web application, you required the skills to code in your business logic language and your database language. More recently, however,...

  4. Ruby on Rails Study Guide: The History of Rails

    Ruby on Rails Study Guide: The History of Rails

    Tutorial Beginner

    Ruby on Rails - or simply, Rails - is an open source, rapid web development framework, with a continuous goal of maximizing developer happiness and...

  5. Building Ribbit in Rails

    Building Ribbit in Rails

    Tutorial Beginner

    Welcome to the next installment in our Twitter clone series! In this tutorial, we'll build Ribbit from scratch, not using PHP, but with Ruby on Rails. Let's...

  6. Building Single Page Web Apps with Sinatra: Part 1

    Building Single Page Web Apps with Sinatra: Part 1

    Tutorial Intermediate

    Have you ever wanted to learn how to build a single page app with Sinatra and Knockout.js? Well, today is the day you learn! In this first section of a...

  7. 3 New Relic Power Features You Should Be Using Today

    3 New Relic Power Features You Should Be Using Today

    Tutorial Beginner

    You already know that New Relic provides deep performance metrics for your Java, .NET, PHP, Python or Ruby application. But are you familiar with the power...

  8. Writing an API Wrapper in Ruby with TDD

    Writing an API Wrapper in Ruby with TDD

    Tutorial Beginner

    Sooner or later, all developers are required to interact with an API. The most difficult part is always related to reliably testing the code we write, and,...

  9. 24 Extremely Useful Ruby Gems for Web Development

    24 Extremely Useful Ruby Gems for Web Development

    Tutorial Beginner

    One of the nicer things about developing on the Ruby platform is the sheer amount of meticulously categorized, highly reusable code wrapped up in the form of...

  10. How to Use Faye as a Real-Time Push Server in Rails

    How to Use Faye as a Real-Time Push Server in Rails

    Tutorial Intermediate

    There are multiple ways to add push functionality to an application, including Pushr and Pub-Nub, which are quite elegant and simple solutions. There are...

  11. The Intro to Rails Screencast I Wish I Had

    The Intro to Rails Screencast I Wish I Had

    Tutorial Beginner

    Isn't it funny how most "introduction to Ruby on Rails" screencasts are overly simplistic, and rely on generators like scaffolding? The teacher typically...

  12. How to Use Omniauth to Authenticate your Users

    How to Use Omniauth to Authenticate your Users

    Tutorial Beginner

    I hate signing up for websites. I’ve already signed up for so many, using different usernames, that going back to one of them and trying to remember my...