Hi there! This is Andy, bringing you another edition of This Week in Rails. Let’s dive in.
We had 23 awesome people who helped make Rails better this week, with 4 first-time contributors! Would you like to help as well? Head over to the 👉 issues list.
In some situations, a user may want to configure the delivery job in order to have better control over errors. This adds an option to make that possible.
This change makes a small improvement to the performance of initializing an ActiveModel instance. The other interesting thing I learned about was the “magic comment”
# frozen_string_literal: true. Check the PR for details.
The hash provided to update_columns is turned into an UPDATE query. Passing an id key resulted in an update to the id column, even if the model uses a different primary key. This fixes that!
A newer feature, now with documentation explaining how and when to use
That’s it for this week, as always, we couldn’t cover all of the changes, but feel free to check all the commits from this week.
Until next week! 👋👋