GoRails Screencasts

GoRails is a series of screencasts and guides for all aspects of Ruby on Rails. Learn how to setup your machine, build a Rails application, and deploy it to a server.

How To Use Importmaps With Rails

Import maps are great, but how do they work? In this lesson, we'll demystify import maps and see how they integrate with Rails' asset pipeline.

10-29
18:11

How to Configure Multiple Databases with Rails

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

10-21
20:07

How To Add Impersonation To Rails Authentication Generator

The Rails authentication generator is an awesome new addition with Rails 8 so let's explore how we can customize it to support user impersonation.

10-07
16:10

Customizing Rubocop Rails Omakase Rules

Rubocop Rails Omakase is just a starting place and provides a handful of rules.

09-30
06:33

Tests Without Assertions Warning in Rails 7.2

Rails 7.2 now warns if any test runs without assertions. It helps make tests that may raise errors more explicit and less prone to mistakes.

09-16
06:28

How to use Omakase Rubocop Linter/Formatter Rules for Rails

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

08-16
18:51

Defer Job Enqueues After Transaction Commit in Rails 7.2

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

08-14
17:14

How to use the Browser Guard in Rails

The new browser guard in Rails 7.2 allows you to gate access to your application if a user is not using a modern browser.

08-12
14:56

How to use Dev Containers with Rails

Installing dependencies to develop and run your Rails applications locally can be a pain.

08-09
24:07

How to Rate Limit Requests in Rails 7.2

Rails 7.2 introduced a new rate limit feature that uses the Rails cache for preventing abuse of routes in your applications.

08-07
20:09

Adding Honeybadger Insights To The RubyGem

Honeybadger's new Insights feature is awesome but required manually editing the yaml file to enable. Let's make a pull request to automate this.

07-22
22:42

Adding Timeouts to net-ssh with Mike Perham

In this lesson, we'll dive into some code to add timeouts for an issue with net-ssh with the help of Mike Perham

06-03
01:20:22

Limiting & Clamping Values in Ruby

Sometimes you need user input to be restricted to a certain range or limited like "greater than zero". While you can do this with conditionals, there are some useful tricks to do this better in Ruby.

05-27
05:26

Rubygems Trusted Publishing

Rubygems.org released a new feature called Trusted Publishing which allows you to release gems directly from GitHub Actions without requiring 2FA or long-lived API tokens. Let's see how it works!

05-17
11:14

Refactoring Local Variables To Methods

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.

05-06
04:36

One Time Payments With Pay And Stripe

In this episode, we will learn about handling one-time payments with the Pay gem and Stripe embedded checkout. This is a great approach for non-recurring payments and can be implemented very quickly.

04-15
39:24

Changing Contexts To Objects With IRB

In this video, you'll learn about a feature of IRB, which is the ability to change context into an object.

04-03
05:08

ActionController Modules in Rails

Ever wondered how Rails controllers get their functionality? Let's see how we can add translation support to Rails API controllers by looking at the Rails source

03-08
03:10

Components with Phlex in Rails

Adam McCrea walks through using Phlex to build components for views in your Rails applications. Phlex is a Ruby gem for building fast object-oriented HTML and SVG components using Ruby constructs: methods, keyword arguments and blocks.

02-05
25:55

How to use Mission Control Jobs in Rails

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.

01-31
09:46

Recommend Channels