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.
  1. How to Create Your Own Local Premium URL Shortener Service

    How to Create Your Own Local Premium URL Shortener Service

    Tutorial Intermediate

    Learn how to set up your own private URL Shortener with the Premium URL Shortener. You will also create a neat PopClip extension to make it even easier.

  2. Uploading With Rails and Paperclip

    Uploading With Rails and Paperclip

    Tutorial Beginner

    In this article we will overview Paperclip, a file uploading solution for Rails. You will learn its key concepts and see it in action by creating a demo...

  3. Uploading With Rails and Carrierwave

    Uploading With Rails and Carrierwave

    Tutorial Beginner

    You will learn how to work with Carrierwave, a very popular and feature-rich file uploading solution for Rails, while crafting a demo application.

  4. How to Use OmniAuth-Twitter in a Rails Application

    How to Use OmniAuth-Twitter in a Rails Application

    Tutorial Beginner

    In this tutorial, you will learn how to allow users of your application to log in using their Twitter account. Doing this has been made easy with tools such...

  5. Uploading Files With Rails and Dragonfly

    Uploading Files With Rails and Dragonfly

    Tutorial Intermediate

    Learn how to enable support for file uploading in Rails. Create a small musical website while learning the basics behind Dragonfly integration, image...

  6. Authorization With Pundit

    Authorization With Pundit

    Tutorial Beginner

    Pundit is a tool that allows you to restrict certain parts of your Rails application to authorized users. It does this by providing you with certain helpers....

  7. Authentication in Rails Using Clearance

    Authentication in Rails Using Clearance

    Tutorial Beginner

    Clearance is a simple authentication system with email and password built by the team at Thoughtbot. It has opinionated defaults but is intended to be easy...

  8. Crafting APIs With Rails

    Crafting APIs With Rails

    Tutorial Beginner

    You will learn about the new Rails feature allowing you to easily craft API-only applications. We will also discuss how to secure your API, protect it from...

  9. Building Your First Web Scraper, Part 3

    Building Your First Web Scraper, Part 3

    Tutorial Beginner

    In this tutorial, we will cover in detail how we extracted the data, how the helper and utility methods accomplish their jobs, and how all the puzzle pieces...

  10. Uploading Files With Rails and Shrine

    Uploading Files With Rails and Shrine

    Tutorial Intermediate

    You will learn how to present a file uploading feature in your Rails application with the Shrine gem. This gem is built with a modular approach, providing...

  11. Building Your First Web Scraper, Part 2

    Building Your First Web Scraper, Part 2

    Tutorial Beginner

    In this tutorial, you will learn how you can use Mechanize to click links, fill out forms, and upload files. You'll also learn how you can slice Mechanize...

  12. Building Your First Web Scraper, Part 1

    Building Your First Web Scraper, Part 1

    Tutorial Beginner

    Rubyland has two gems that have occupied the web scraping spotlight for the past few years: Nokogiri and Mechanize. We spend an article on each of these...