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.
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 requests that have a successful CI run.
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.
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!
9 min
About GoRails Screencasts
From the publisher's feed
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.