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
11m

Refactoring Madmin Pagination

Mar 31, 2025 Pro

In this lesson, we dive into the Pagy source code to learn how to best refactor pagination inside of our own code.

0
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
36m

Improving Revise Auth Redirects

Jul 01, 2024 Pro

The Revise Auth gem that I wrote didn't have a consistent redirect mechanism for after sign up or sign in, so this lesson we're going to refactor and write tests to improve this feature.

1
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
15m

Refactoring Rigid Code

Apr 29, 2024 Pro

In this lesson, we'll take a look at how a small change to fix some rigid code in the Receipts gem can open up more possibilities.

0
13m

Routing Concerns and Scopes in Rails

Jul 07, 2023 Pro

Did you know Rails provides concerns for routes in addition to concerns for models and controllers?

7
23m

How to Build Reusable Features with Concerns in Ruby on Rails

Jul 03, 2023 Pro

Modules and concerns provide a way to make functionality reusable across your Rails application and other apps. In this lesson, we'll show you how we can refactor our comments functionality to add a feature to any resources in Rails.

6
21m

Code Review: Refactoring the Receipts gem for Composability

Feb 27, 2022 Pro

Designing code for composability allows you to make code more testable, flexible, and easier to adapt in the long term. We'll look at how I recently refactored the Receipts gem so that you can easily customize receipts and still use built-in components.

2
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
14m

iTunes Controller Code Review: Part 1

May 18, 2017 Pro

We do a code review of a script that let's you control your Mac and iTunes with commands that generate AppleScripts

0
21m

iTunes Controller Code Review: Part 2

May 18, 2017 Pro

We do a code review of a script that let's you control your Mac and iTunes with commands that generate AppleScripts

0
18m

iTunes Controller Code Review: Part 3

May 18, 2017 Pro

We do a code review of a script that let's you control your Mac and iTunes with commands that generate AppleScripts

3
24m

Code Review: Run Number Refactoring

Apr 24, 2017 Pro

We do a code review and refactoring of an implementation of incremental run numbers for an application

18
9m

Refactoring with the Null Object Pattern

Apr 24, 2015 Pro

Refactor and simplify your associations and views using Null Objects that let you remove conditionals and have more robust code

23
12m

Using Ruby Service Objects To Refactor Your Rails Code

Apr 10, 2015 Pro

Learn how to refactor your Rails model callbacks into plain old ruby objects that help organize your code

22
<1>
Filter By
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.