#630 — November 24, 2022 |
Sorry for the attention grabbing subject but on this day of Thanksgiving for many, we also give thanks for a busy week of Ruby releases, from an all new JRuby to Hanami 2.0, plus improvements to good old |
|
Ruby Weekly |
Hanami 2.0: The Better, Faster, Stronger Web Framework — I love seeing new takes on classic concepts especially when they're actively maintained and used. Hanami is a great example and 2.0 represents a lot of work. We get a ‘blazing fast’ new router, improved app structure, type-safe app settings, and more. Want to give it a spin? Enjoy the v2 Getting Started guide. Tim Riley |
❓ If you're wondering "yes, but why should I use Hanami?" hold that thought – we've got something for you next week ;-) |
Free eBook: Advanced Database Programming with Rails and Postgres — Learn about subqueries, materialized views, and custom data types in Postgres and Rails. We walk through realistic real-life examples, translating first into SQL, and then into Rails code. Every example comes with source code so you can follow along. pganalyze sponsor |
JRuby 9.4 Released, Now with Ruby 3.1 Compatibility — An understated release post for a huge release. The popular JVM-based implementation leaps up to supporting all of Ruby 3.1’s features (except ractors and the IO/lock/fiber scheduler interface). This means JRuby can now run Rails 7. The JRuby Team |
Ruby Concurrency is Hard or 'How I Became a Rails Contributor' — Concurrency is hard, but luckily the author is both brave and smart. He found an issue affecting the use of Maciej Mensfeld |
Improving Your Rails and Ruby Versioning and Gemfile Policy — The effects of having a solid versioning policy can spread far and wide, not just to users of your projects, but to your own peace of mind. It takes work but David outlines basic steps for good versioning hygiene here. David Bryant Copeland |
QUICK BITS
|
Ruby 3.2's New Swaathi Kakarla |
System Notifications with Noticed and CableReady in Rails — The author of Advanced CableReady walks through how to add database, browser, email, and other notifications to a Rails app to inform users of events in real time. Julian Rubisch |
Fixed Price Monthly Code Maintenance and Upgrades for Rails Apps reinteractive Pty Ltd sponsor |
Scaling Mastodon in the Face of a Twitter Exodus — How a Mastodon (which is a Rails app) server coped with the onrush of new users in the #TwitterMigration. It boiled down to a lot of Sidekiq and database configuration that will show you a way to handle scale with Sidekiq. Leonora Tindall |
How to Ignore RuboCop Changes in Caleb Hearth |
Verifying Content-Security Policy with Selenium and Cuprite Pawel Pacana |
Shortcut Brings Product and Engineering Together. Try It for Free Shortcut (formerly Clubhouse.io) sponsor |
🛠 Code & Tools |
IRB V1.5.0 Released — Ruby’s stalwart interactive REPL is always there for you and it continues to improve, too. v1.5 introduces two new commands: Stan Lo on Twitter |
Magnus 0.4: Ruby Bindings for Rust — If you’ve been stepping a toe into the Rusty waters, why not use it to work with Ruby? With Magnus you can write Ruby extensions in Rust or even call Ruby code from Rust itself. Mat Sadler |
og:image as a Service — Check how you can set up stunning link previews automatically on mugshotbot.com. Mugshot Bot sponsor |
|
|
🐦 SEEN ON THE TWITTERS
If you like all things Ruby on Twitter, the Short Ruby newsletter (no relation) has a lot more where that came from. |
|