#678 — November 16, 2023 |
|
Ruby Weekly |
Ruby 3.3.0 Preview 3 Released — With just 39 days till Christmas and Ruby 3.3, it’s time for another preview release. 3.3.0-preview3 retains all the prior 3.3 improvements like those to YJIT performance, but also introduces the M:N thread scheduler and the Prism Ruby parser (formerly YARP). Yui Naruse |
YJIT is the Most Memory-Efficient Ruby JIT — Shopify’s tireless work on YJIT has paid off in many ways, including a ~15% speed-up for their storefronts. The team’s methodology on benchmarks, however, goes beyond performance to warm-up time and memory (RSS) size. All in all, YJIT is shaping up to be what we hoped it would be: a great boost to Ruby and Rails development. Maxime Chevalier-Boisvert (Shopify) |
⚡️ YJIT is so good, in fact, that Rails will enable it by default on Ruby 3.3+. |
AppSignal Has Levelled up — When bits hit the fan, you need a reliable APM by your side. With AppSignal, you get a 360° overview of your app, and our latest improvements will help you identify issues even faster. AppSignal sponsor |
“Useless Ruby Sugar”: Keyword Argument and Hash Values Omission — Victor’s tour through modern Ruby syntax continues with a look at the ability to implicitly pass values by virtue of using keyword argument names the same as the values’ variables, e.g. Victor Shepelev |
|
📕 Articles & Tutorials |
How GitHub Actions Can Turn Your Code Into a Docker Daemon — Explains how to have Github Actions automatically build containers and tag versions when the tests pass in CI for a simple Ruby command-line app. Andrew Coleman |
The Future of Rails Test Data Management...? — test_data provides an alternative ‘novel, unconventional approach’ to managing your Rails app’s test data by way of a fourth Justin Searls |
Fixed Price Monthly Code Maintenance for Rails Apps — Starting from 10 hours per month, CodeCare will take care of necessary patches, bug fixes, upgrades and ongoing improvements for your app. reinteractive/CodeCare sponsor |
RailsCasts Retrospective Part 2: The Fire — The creator of RailsCasts (a pioneering screencast/educational site in the late 00s) began a series of posts telling the RailsCasts story earlier this year. Now Ryan’s back explaining how it rapidly became popular and turned into a full-time job when it gained 2600 paying subscribers within a month. Ryan Bates |
Gem Credentials Management with Gemstash — For when you might need to manage credentials to access private or commercial gems as a team. Petr Hlavicka |
How to Customize Rails Validation Errors to Remove Leading Attribute Column Names
|
How to Handle Incoming Webhooks with LiteJob for Rails
|
Fan-out Sidekiq Jobs to Manage Large Workloads
|
🛠 Code & Tools |
RAILSG: A Ruby on Rails Command Builder — Very handy. It’s a collection of reference guides and command builders for the various generator commands available in Rails. For example, let’s say you want to run a benchmark on your app – RAILSG provides the docs and a way to tweak the command to your needs without any command line guesswork. Harrison Broadbent |
Seedie 0.4: Generate Realistic Seed Data for ActiveRecord Models — Seedie’s USP is that it uses the Faker gem and a YAML file to seed your database with ‘real-ish’ data for you so you don’t have to manage a giant Keshav Biswa |
Need to Upgrade Ruby or Rails — But on a Tight Budget? We Can Help — FastRuby.io offers fixed-cost, upgrade services starting at $2,000/month. Start your upgrade next week 🚀 🌳 Bonsai by FastRuby.io sponsor |
Preventing Bugs in Ruby: Some Tools of the Trade — “This is an opinionated list of tools that I have found useful, placed here for easy reference and shared in the hope that others will find it useful.” Radan Skorić |
|
|