Logo Logo white GoRails
Path Series Lessons Forum
Courses
Rails for Beginners

How to build a complete, real-world application from scratch with Ruby on Rails step by step.

Advanced Ruby: Behind the Magic

A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.

Payments with Rails Master Class

Accept subscription and one-time payments with Stripe in your Rails apps

Refactoring Rails

Expert advice on keeping Rails apps organized and fast.

Learn Hotwire

Learn how to build fast, modern web apps with HTML over the wire.

Content
Install and Deploy Rails Guides

Setup your computer with Ruby on Rails and deploy to a production server.

Apps
Hatchbox.io

Cheap, easy hosting for Ruby and Rails apps.

Jumpstart Rails SaaS Template

Launch your product business way faster with our SaaS template.

Other
Remote Ruby Podcast

A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.

GoRails Open Source

A few of the Open Source projects we do at GoRails.

Rails Hackathon

Build a Ruby on Rails app in 48 hours with us.

Beginner Bounties

Help Junior developers get hired by sharing small projects to build their resume with paid work.

Ruby on Rails Job Board

Find your next Ruby on Rails Job.

Pricing
Log In Sign Up
21m

Your First Ruby Gem

Oct 24, 2022

In this episode, we will create our first Ruby Gem. It will be a very simplified gem that adds a method to the built-in Ruby Array class. The goal is to understand the core pieces of what is needed to create a gem that we can share with the community.

8
24m

Your First Ruby Gem Part 2

Nov 07, 2022

In this follow-up episode on building your first Ruby gem, we look at setting up version control, adding a basic testing setup, and adding a basic GitHub action for a CI (continuous integration) setup. With these pieces in place, we should have a solid fo

2
14m

The Ruby Subscript Operator

Jan 09, 2023 Pro

Rails uses the Ruby subscript operator to implement versioning with ActiveRecord Migrations. We'll learn how this works and implement it from scratch to see how it all ties together

6
12m

Modular Code Organization

Dec 26, 2022

In this episode, we will look at an option for beginning to refactor your code architecture to use modules as a first step to potentially extracting a new class.

6
29m

Creating a Railsbyte

Oct 10, 2022

In this episode, we look at how to make a Railsbyte template. Specifically, we will be making a Railsbyte that will set up our application for deployment with Render which will allow us to be able to reuse the template on any application that we would lik

0
28m

HTTP Server in Ruby from Scratch

Jul 13, 2021 Pro

Ever wondered how Puma, Unicorn, or other Ruby HTTP servers work? We'll build one from scratch with pure Ruby so you can see exactly how it works.

5
18m

How to use Omakase Rubocop Linter/Formatter Rules for Rails

Aug 16, 2024

Formatting Ruby code can be a point of contention because the language is so flexible, but it

5
12m

Lazy Requiring Dependencies in Ruby

Feb 03, 2025 Pro

Normally, we require dependencies at the top of files, but today we'll see where and when we might want to lazily require dependencies.

8
23m

Concept Application: Assert Difference Deep Dive

Apr 25, 2022

In this video, we will explore how the concepts we looked at in "Flattening Scopes in Ruby" are used in Rails by taking a look at the assert_difference method. We will walk through how the method works while taking note of where the concepts are applied.

0
14m

Refactoring with Enumerable partition

Jun 10, 2024 Pro

In this lesson, we will look at how to clean up code that iterates over a collection twice to separate the elements out to only doing so once while achieving the same result by leveraging the partition method from Ruby's Enumerable module.

0
21m

Refactoring Rubocop GitHub Action

Dec 16, 2019 Pro

Today we're refactoring Andrew Mason's GitHub Action that runs Rubocop against your repository. We'll pull out some concepts, remove conditionals, and use several other techniques to clean up the code.

1
8m

Debugging with Caller

Dec 12, 2022

Debugging Ruby with the Caller method

2
4m

Refactoring Local Variables To Methods

May 06, 2024

Sometimes you write code to get a feature working and stop there. With a little refactoring, you can extract local variables into methods that make testing and extending easier.

0
32m

Net Http API Client from Scratch

Feb 20, 2023 Pro

In this episode we will look at using Ruby's built-in Net::HTTP class to build API clients for making http requests.

8
15m

Decorating with SimpleDelegator and Modules

Apr 10, 2023 Pro

We look at using the built in SimpleDelegator class to easily create decorators for objects.

5
18m

Transforming JSON responses to Ruby objects with OpenStruct

Aug 24, 2021 Pro

When you receive a JSON response from an API endpoint, it's really easy to convert this to a Ruby hash. But hashes don't feel very Ruby-ish when you're working with them and you can't add methods and treat them like objects.

4
16m

Mapping API Resources & Handling Pagination

Aug 31, 2021 Pro

The core of an API wrapper Rubygem is defining the Resource endpoints so developers can make requests cleanly. We'll also learn how to handle pagination for endpoints that return a list of results.

3
11m

API CRUD Actions

Sep 07, 2021 Pro

The core of any API wrapper is the actions for create, read, update, and delete. We'll implement the CRUD for a resource so you can see how to do it and wire up everything together that we've built so far.

4
25m

Testing API Requests

Sep 14, 2021 Pro

How do we test API requests in a Rubygem to make sure that we're integrating correctly with our backend? We'll learn how to use stubs to fake out the request and test our code without any network requests.

1
4m

Ruby Version Managers

Jul 02, 2014

Techniques for installing Ruby and managing different versions between applications

10
<12345…8>
Filter By
Ruby Remove All Episodes Free Episodes Pro Episodes
Sort By
Published Date Popularity
Categories
ActionCable ActionMailbox ActionText ActiveJob ActiveModel ActiveRecord ActiveStorage ActiveSupport Administration APIs Authentication Authorization Background Jobs Basics Caching Code Organization Code Review Comments Complete App Concerns Controllers Credentials CSS CSV Debugging Deployment Design Patterns Development Docker Emails Ember Errors File Uploading Fixtures Forms Frontend Gems Generators Geocoding Helpers Hotwire Internationalization iOS Javascript JavaScript Maps Messaging Metaprogramming Middleware Mobile Models Multitenancy Notifications OAuth Open Source Pagination Payments Performance Production Rack Rails 4.2 Rails 5.0 Rails 5.1 Rails 5.2 Rails 6 Rails 7 Rails 7.1 Rails 7.2 Rails 8 Rails Engines React Native Refactoring Routes Ruby Search Security Servers Sharing SQL Testing Timezones Turbo Turbolinks Upgrading Views VueJS Webhooks Webpacker

Learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more with GoRails tutorials.

Twitter GitHub

Solutions

  • Ruby on Rails Tutorials
  • Rails Learning Path
  • Rails Courses
  • Rails SaaS Template
  • Deploy Ruby on Rails
  • GoRails Open Source
  • Ruby on Rails Tools
  • Ruby on Rails Jobs

Support

  • Pricing
  • Teams
  • Testimonials
  • Help

Company

  • About Us
  • Blog
  • Remote Ruby Podcast

Legal

  • Privacy Policy
  • Terms of Service

© 2025 GoRails, LLC. All rights reserved.

Proudly built with Jumpstart and hosted with Hatchbox and DigitalOcean.