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

How to add Lazy Load Hooks to Rails Plugins

May 05, 2025

To provide clean integrations with Rails plugins, we can use lazy load hooks to add callbacks for when classes are loaded.

1
20m

How to Configure Multiple Databases with Rails

Oct 21, 2024

Rails 8 now ships with multiple databases by default. In this lesson, we'll learn how the configuration works and how to deploy to production with environment variables

0
17m

Defer Job Enqueues After Transaction Commit in Rails 7.2

Aug 14, 2024

Enqueuing jobs inside of a database transaction is a common mistake that's now handled for you automatically in Rails 7.2

2
9m

How to use Mission Control Jobs in Rails

Jan 31, 2024

Mission Control Jobs is a UI for ActiveJob in Rails. It was announced at Rails World 2023 and just got released. It currently supports SolidQueue and Resque with more queue adapter support in the future.

8
13m

Single Table Inheritance (STI) with ActiveRecord in Rails

Jan 22, 2024

Have models that store the same data but need different functionality? Rails provides Single Table Inheritance in ActiveRecord to solve this problem.

9
23m

Send Notifications in Rails with Noticed gem v2

Jan 16, 2024

Notifications in Rails applications are even easier now with the new release of Noticed gem v2. We'll explore how to add notifications to your Rails app in just a few minutes.

11
9m

Normalizes method in ActiveRecord

Sep 18, 2023

Normalizing data has always been a pain in Rails, but not anymore! Instead of callbacks or overriding setters, Rails 7.1 introduces "normalizes" to make normalizing data easy.

4
31m

How to Add Pagination for Blog Posts in Rails

Apr 05, 2023

Pagination is something we don't need until we publish a lot of blog posts. We can use the pagy gem to add page links to the bottom of our pages and handle thousands of blog posts.

6
16m

Rich Text Blog Posts with ActionText

Apr 03, 2023

ActionText is a feature of Rails that allows you to add rich text including file uploads to any of your models. This is a perfect fit for our Blog Posts, so we're going to replace the text column with a rich text field with ActionText.

19
9m

Sorting Blog Posts With Scopes

Apr 03, 2023

Scopes are a way for us to change the way a database table is queried. For example, we can use them to change the ordering of the results so certain records are first.

4
15m

Writing Tests for Scheduled Blog Posts

Apr 03, 2023

Our scheduled blog posts adds some complexity to our app. In this lesson, we're going to write some tests to make sure that our code does what we want it to do.

2
24m

Adding Scheduled Blog Posts

Apr 03, 2023

Scheduling blog posts to be published in the future is the next feature we're going to add. In this lesson, we'll talk about several options we have to implement this and then choose one to build.

23
9m

Building has_one from has_many Associations

May 16, 2022

In this video, we will take a look at how to use a few association declaration options to build a couple of has_one associations off of a has_many association in Rails.

8
11m

Realtime Nested Comments: Part 2

Feb 08, 2021

Hotwire lets us broadcast changes so we can use the same approach for nested comments, but in realtime!

7
20m

Realtime Nested Comments: Part 1

Feb 02, 2021

Hotwire lets us broadcast changes so we can use the same approach for nested comments, but in realtime!

6
13m

Drag and Drop sortable lists with Rails & Stimulus JS

Apr 28, 2020

Drag and drop sortable lists in Rails aren't too hard using Sortablejs and Stimulus to make wire them up to our backend with acts_as_list

23
5m

Tracking online users with timestamps

Feb 03, 2020

We can use timestamps in our database to track of online users in your Rails

2
9m

How to Test Validations in Rails

Sep 05, 2019

Learn how to write tests for validations on ActiveRecord objects in Ruby on Rails

2
14m

How to use Multiple Databases in Rails 6.0

Aug 27, 2019

With Rails 6.0, you can now define multiple primary and replica databases, define separate migrations for each primary database, and configure each model to read and write from different databases.

1
20m

@mentions for Users with ActionText in Rails 6

Mar 11, 2019

Mentioning Users with an @mention is a super common feature. Trix and ActionText are now part of Rails 6 which means we can very easily add support for tagging users with @mentions and other custom attachments in your applications.

3
<12>
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.