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

Magic Link Authentication with generates_token_for in Rails 7.1

Sep 22, 2023 Pro

Rails 7.1's new generates_token_for method allows us to build password reset and Magic Link login tokens without storing details in the database. Tokens have expirations and can be one-time use so they can't be reused.

11
4m

Short URL Link Redirects

Sep 23, 2023 Pro

Next, we can build redirecting Short URLs to the URL on the Link

1
11m

Views Chart for Links

Sep 24, 2023 Pro

Analytics for links is a useful feature so lets record Views for links and show them in a graph

3
28m

Improving the URL Shortener Design

Sep 25, 2023 Pro

It's time we start cleaning up the design and UI for a better experience with our URL shortener.

4
14m

Unused Rails Routes Command

Sep 25, 2023 Pro

In this lesson, we will look at a new option coming to the rails routes command in Rails 7.1 which will display a list of any routes deemed as unused in your Rails application. Let's see what qualifies a route as unused and learn some other handy tips!

0
33m

Retrieving Link Metadata with Background Jobs

Sep 26, 2023 Pro

We can retrieve the title, description, and OpenGraph metadata for URLs. Since HTTP requests can be slow, we'll implement this metadata lookup in a background job and broadcast to the frontend with Turbo.

6
13m

Copy Link To Clipboard

Sep 27, 2023 Pro

Copy to clipboard is a required feature for a URL shortener. We'll implement this with two JavaScript libraries (clipboardjs and tippy.js) and a Stimulus controller.

0
11m

Deploying URL Shortener To Production with Hatchbox.io

Sep 28, 2023 Pro

We're ready to deploy our URL Shortener to production and we're going to do that using Hatchbox.io

1
2m

Challenge: Add Users To The URL Shortener

Sep 29, 2023 Pro

Anyone can add, edit, and delete any Link in our URL Shortener database. Your challenge is to add users, associate links with them and only allow editing of your own links.

0
17m

ActiveJob Perform All Later

Sep 29, 2023 Pro

In this lesson, we will look at a new option coming to ActiveJob in Rails 7.1 for enqueuing multiple jobs at once using the perform_all_later class method.

1
18m

Adding Edit Permissions For Links

Sep 30, 2023 Pro

Here's how we'd add Users and handle edit permissions for links. See how it compares to your implementation and consider the pros/cons of each approach.

3
34m

Adding Link Integration Tests

Oct 01, 2023 Pro

Testing our URL shortener is very important now that we've implemented edit permissions on Links. We want to make sure everything works as expected for each type of user.

0
16m

Adding GitHub Actions CI/CD to the URL Shortener

Oct 02, 2023 Pro

Now that we've got a thorough test suite, we want to make sure tests are run anytime we push code to GitHub. We can setup GitHub Actions to test our code and automatically deploy it when tests pass.

2
15m

Link Pagination with Pagy

Oct 03, 2023 Pro

Once our application has lots of links, it will become impossible to use. Let's add pagination to make our application usable once we have hundreds or thousands of links.

2
1m

Wrapping Up Our URL Shortener

Oct 04, 2023 Pro

Congratulations! We're all done! We now have a fully featured URL shortener that does everything we need plus some cool extras.

5
13m

The Behaviors Of Super

Oct 13, 2023 Pro

In this lesson, we will look at the various ways we can use the super keyword in Ruby in regard to forwarding method arguments to the equivalent method in a parent class.

2
9m

Strict Loading with ActiveRecord

Oct 16, 2023 Pro

Not eager loading in your Rails applications can have series performance side effects. Rails now comes with a strict_loading feature that you can use to make sure that queries are run in an efficient manner.

1
14m

Organizing Rails Model Files

Oct 30, 2023 Pro

In this lesson, we will look at some guidelines which we can use to help keep our Rails model files organized and uniform. Along the way we will uncover a couple of gotchas to be aware of when doing the work to align your files with the template.

8
11m

ActiveStorage Named Variants, Preprocessed Variants, and Representations for File Uploads in Rails

Nov 06, 2023 Pro

ActiveStorage has introduced lots of improvements in recent Rails versions to make managing file uploads much easier.

1
19m

Custom Attribute Serializers with ActiveRecord in Rails

Nov 13, 2023 Pro

Did you know serialize can be used for more than saving Ruby hashes as JSON or Yaml in your db? You can take any attribute and convert it to an object seamlessly with Rails using serialize and custom coders.

8
<1…141516…20>
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.