
Podcast
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.
Episodes
Configuring servers can be tricky, but it's much easier using drop-in configs so you're not editing files that could change across versions or environments.
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.
Learn how to order records by a column with a set of values
Learn how to use Rails' with_options to DRY up duplicated options across method calls and associations, including how to nest them for shared defaults.
Learn how to normalize all ActiveRecord attributes with a quick peak at the Rails source code.
Learn how to dynamically render Rails partials using standard Rails behavior and model_name.plural when needed to clean up messy if/else conditionals in your views.
Optional attributes are empty strings by default, but we can clean these up as nil in Rails using normalizes
Learn how to use validation contexts in Rails to conditionally validate models - like saving drafts without validation but requiring them when publishing.
A peek into the Domain Monitor SaaS product that we'll be building in this series with Rails, Stripe, Solid Queue, and Kamal.
Rails 8.1 introduces a new Markdown MIME Type and renderer to better integrate your apps with AI and other tools that use Markdown
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…
Let's look at how we can easily deploy a Rails 8 application using the solid trifecta of gems with Hatchbox.
Rails 8.1 introduced a local CI setup and run script that allows you to leverage the power of your local system to run a series of steps and optionally integrate with GitHub to sign off on pull reques…
In this episode, we will be looking at pattern matching in Ruby which lets you check the structure of data and save parts of it into variables.
The Rails Authentication generator is getting new test helpers. We'll take a look at how to use them with integration tests and how to extend them to work with system tests too.
Rails now ships the Trix editor as a separate gem (action_text-trix) instead of being included in ActionText. This allows for separate releases independently of Rails.
Enumerable provides a suite of sorting, filtering, iterating functionality to any collection class in Ruby. It's easy to implement and use, so let's see how to use it.
To provide clean integrations with Rails plugins, we can use lazy load hooks to add callbacks for when classes are loaded.
Learn how to use the CodeMirror editor in your browser using Importmaps.
Rails 8 introduces a new expect method for permitting parameters that fixes a few of the issues with require and permit. Let's take a look!