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. Processing Forms With phpPress, goPress, rubyPress, and nodePress

    Processing Forms With phpPress, goPress, rubyPress, and nodePress

    Tutorial Intermediate

    Now that you have a website running with phpPress, goPress, rubyPress, and/or nodePress, you might want to process some forms. In this tutorial, I'll show...

  2. Exploring Devise, Part 2

    Exploring Devise, Part 2

    Tutorial Beginner

    In the first part of the tutorial, we learned how to install Devise and set it up in our Rails application. In this part, we will look at how to integrate...

  3. Getting Started With the Asset Pipeline, Part 2

    Getting Started With the Asset Pipeline, Part 2

    Tutorial Beginner

    By the end of this article you should have a good understanding of the features of the Asset Pipeline in Rails that beginners usually have a tricky time...

  4. Getting Started With the Asset Pipeline, Part 1

    Getting Started With the Asset Pipeline, Part 1

    Tutorial Beginner

    In this first article of a new series on the Asset Pipeline in Rails, I’d like to discuss a few high-level concepts that are handy to fully grasp what the...

  5. GeoSpatial Search in Rails Using Elasticsearch

    GeoSpatial Search in Rails Using Elasticsearch

    Tutorial Intermediate

    In this tutorial, I am going to create a small Rails app. I will show you how to create a rake task to import some venues from Foursquare to our database....

  6. Exploring Devise, Part 1

    Exploring Devise, Part 1

    Tutorial Intermediate

    Devise is an authentication system that is used in Rails applications. In this tutorial, you will be learning how to use Devise.

  7. Full-Text Search in Rails Using Elasticsearch

    Full-Text Search in Rails Using Elasticsearch

    Tutorial Beginner

    In this article I am going to show you how to install Elasticsearch, how to implement full-text search on your Rails site, and how to implement search...

  8. Non-ActiveRecord Models in Rails 4

    Non-ActiveRecord Models in Rails 4

    Tutorial Intermediate

    ActiveRecord comes with a powerful set of validators and other features for attributes of a persisted data model. But what happens when you need a complex...

  9. Generating PDFs From HTML With Rails

    Generating PDFs From HTML With Rails

    Tutorial Intermediate

    There are many ways to generate PDFs in Ruby and Rails. Chances are that you are already familiar with HTML and CSS, so we are going to use PDFKit to...

  10. RSpec Testing for Beginners, Part 3

    RSpec Testing for Beginners, Part 3

    Tutorial Beginner

    In this final article about RSpec basics, we cover a few iffy parts you can and should avoid, how you should compose your tests, why you should avoid the...

  11. Building a Simple Shopify App

    Building a Simple Shopify App

    Tutorial Beginner

    Shopify have created their APIs and App Store so that independent developers can build out (and charge for) features their merchants want. In this article,...

  12. RSpec Testing for Beginners, Part 1

    RSpec Testing for Beginners, Part 1

    Tutorial Beginner

    Are you new to Rails? New to coding? Curious about RSpec and how you can start testing? If so, this article should be a good starting point for you to get...