GoRails Screencasts
Technology
About
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.
Episodes
- Monitoring Cron Jobs with Whenever
The Whenever gem is fantastic for defining cron jobs. With a little customization, we can have it monitor cron jobs and report logs, and status to services like AppSignal.
- valid with Context
Learn how to use validation contexts in Rails to conditionally validate models - like saving drafts without validation but requiring them when publishing.
- Module extend self
Using extend self inside a Ruby module makes all of its instance methods callable directly on the module itself, which is useful when you want a collection of utility-style methods without needing to instantiate an object.
- 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.
- Customizing Rubocop Rails Omakase Rules
Rubocop Rails Omakase is just a starting place and provides a handful of rules.
- 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.
- 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.
- 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.
- 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
- 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.
- Send Notifications in Rails with Noticed gem v2
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.
- What's New In Ruby 3.3
Ruby 3.3.0 was released today and this lesson we're diving into the goodies included in the new version.
- Syncing Repositories with Ruby Scripts - Part 2
In this lesson, we will pick up where we left off in the last part and package up our script into a gem that we can share. Along the way, we'll look at how we can spread responsibility across a few small classes to separate concerns and ho…
- Syncing Repositories with Ruby Scripts - Part 1
In this lesson, we will be looking at getting a v1 of a Ruby script that will fetch, pull, and push across several repositories and remotes to keep our code up-to-date. Hopefully, it will give you ideas for other areas in your workflow whe…
- HTML Learning Path - What is HTML and Why Learn It
In this lesson, we will learn what HTML is and why we need to know about it.
- HTML Learning Path - Text Elements
In this lesson, we will have a look at the elements used to markup text content in HTML.
- HTML Learning Path - List and Nav Elements
In this lesson, we will learn about how to display content in a list and how we can use list elements to create navigational aids for our webpages.
- HTML Learning Path - HTML Document Structure
In this lesson, we will learn about the basic structure of HTML documents.
- HTML Learning Path - Intro to Forms
In this lesson, we will lay down our foundational knowledge of forms on the web, knowledge that will be used throughout your career as a web developer.
- HTML Learning Path - Form Parameter Naming Conventions In Rails
In this lesson, we will step briefly into the world of forms in Rails to see the naming conventions Rails uses to help us get structured data from form submissions in our Rails applications.
- HTML Learning Path - Image Element
In this lesson, we will learn about how to display images on our webpages.
- HTML Learning Path - Additional Semantic Elements
In this lesson, we will learn about how to provide better structure to our webpages using more semantic elements from HTML5.
- HTML Learning Path - Button Element
In this lesson, we will explore the button element and some of the lesser known attributes/functionality that can be added to them.
- HTML Learning Path - Additional Input Types
In this lesson, we will explore the other types of input elements which we can use in our forms.
- HTML Learning Path - Anchor Elements
In this lesson, we will look at a key element in what make the web, the web. Hyperlinks.
- How Rails.env works with EnvironmentInquirer & StringInquirer
Rails.env looks and acts like a Ruby String, but you can call methods with question marks on it. In this lesson, we'll learn how it works using ActiveSupport StringInquirer.
- Health Check Endpoint in Rails 7.1
In this episode, we will look into the new health check endpoint that will come by default in a Rails 7.1 application.
- How to upgrade to Rails 7.1
How to upgrade to Rails 7.1 This will also work with any other version and offers a few tips on how to test things out and revert back if necessary.
- Normalizes method in ActiveRecord
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.
- Rails 7.1 Authentication From Scratch
Rails 7.1 introduces many new features for authentication. In this lesson, we'll show you how to implement authentication from scratch using Rails 7.1's new features.
- Extending Rails (Gently)
In this episode we discuss how to extend Rails (gently) with Kasper Timm Hansen and a few of his open source gems. The important idea here is for people to try to come up with their own ideas of making Rails better.
- Better Debugging With The Ruby Debug Gem
In this video, we will be looking at how to better debug issues in our programs and applications by leveraging the Ruby Debug gem.
- Refactoring Turbo Streams into Turbo Frames
Turbo Frames provide an iFrame like concept for Hotwire applications. If you're using Turbo streams to replace a portion of the page, you can accomplish the same thing even easier using Turbo Frames
- Adding a Blog Post Destroy Action and Refactoring
We want to be able to delete blog posts we no longer want. We'll learn how to delete blog posts and refactor our code in this lesson.
- SQL Learning Path - Getting Setup
In this lesson, we look at the tools we will need to have installed so that we can start on our journey to learning SQL.
- Sql Learning Path Foreign Keys
In this lesson, we will begin to explore how we can relate rows from one table to rows in another table by using foreign keys.
- SQL Learning Path - Creating and Dropping Databases
In this lesson, we will learn how to create and drop databases with SQL commands.
- SQL Learning Path - Group By Statement
In this lesson, we will look at how to group rows by a given column and then use aggregate functions to perform calculations on the results.
- SQL Learning Path - String Functions
In this lesson, we will look at how to manipulate string data returned from our queries.
- SQL Learning Path - Select Statement
In this lesson, we will look at how to select rows of data from our database tables.
- SQL Learning Path - Calculations with Columns
In this lesson, we will look at how to perform calculations on the data we retrieve from columns in our database tables.
- SQL Learning Path - Insert Statement
In this lesson, we will look at how to insert data into our database table.
- SQL Learning Path - Where Clause
In this lesson, we will look at how to filter the results from our database queries.
- SQL Learning Path - Where Calculations
In this lesson, we will look at how to use calculations with the where clause to filter the results from our database queries.
- SQL Learning Path - Primary Keys
In this lesson, we will look at how to setup auto-incrementing integers ids for our rows in our database tables.
- SQL Learning Path - Having Statements
In this lesson, we will look at how to filter the groups resulting from writing group by clauses with the HAVING clause.
- SQL Learning Path - Group By with Joins
In this lesson, we will look at how to use joins together with group by clauses to group by columns from other tables.
- SQL Learning Path - Join Statements
In this lesson, we will look at using the foreign keys to join tables together to return results from both tables.
- SQL Learning Path - Creating and Dropping Tables
In this lesson, we will learn how to create and drop tables in our database with SQL commands.
- Modular Code Organization
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.