#620 — September 15, 2022 |
Ruby Weekly |
Ruby 3.2.0 Preview 2 Released — The countdown to Christmas Day, and therefore a key new version of Ruby, continues. Preview releases in recent years have been quite reliable (it’s not the 1.9 days anymore!) so if you want to play with the new WASI-based WebAssembly support, regular expression timeouts, rest param changes, or YJIT’s support for arm64/aarch64.. now is as good a time as any. Yui Naruse |
Send Email Directly from Your Ruby App with Courier — Using a marketing tool to email your users? With the Courier gem you can notify your users with a single line of code. We work with Mailgun, Sendgrid and many other email providers. Courier.com sponsor |
Howitzer: An Acceptance Testing Framework for Webapps — Ruby powered but aims to be high level enough to work with webapps built pretty much using anything, whether PHP, Java, or .NET. You can pick from Cucumber, RSpec or Turnip for the BDD side of things. Provides a lot of structure. GitHub repo. StronqQA LLC |
JRuby 9.3.8.0 Released with Virtual Thread Support — On the surface, this Ruby 2.6.x-compatible release of the popular JVM based Ruby implementation seems minor, but it has a bonus feature in the shape of experimental support for using ‘virtual threads’ (a very new, lightweight thread feature in Java 19). This, apparently, makes it possible for JRuby apps to “create thousands of concurrently-executing fibers.” JRuby Core Team |
QUICK BITS:
|
📖 Articles, Stories & Videos |
Using the Timescale Gem with Ruby — TimescaleDB is an extension that turns Postgres into more of a fully-fledged time series database. This thorough walkthrough demonstrates using its hypertables from Ruby and Active Record from creation through to querying. Jônatas Davi Paganini |
▶ Kuby: Active Deployment for Rails Apps — Want to deploy Rails apps on Kubernetes? Kuby tries to make Docker and Kubernetes more accessible to the average Rails developer. This talk takes it very gently and focuses more on the big picture of Rails deployments before reaching Kuby as an option. Thanks to reader James Childers for specifically recommending this. Cameron Dutro |
🎧 If you'd rather listen to Cameron talk about Kuby, he was on this week's Ruby Rogues podcast. |
Announcing Incident Management For Honeybadger Status Pages 🤩 — Now you can report incidents in real time (or retroactively) and schedule alerts for planned maintenance. Check it out. Honeybadger sponsor |
'Why I Don’t Enjoy RSpec All That Much' — I too, am more of a Minitest fan, but RSpec undoubtedly remains the biggest entrant in the fight. Josef reflects on some of RSpec’s warts. Josef Strzibny |
▶ A Chat with Adrian Marin, the Founder of Avo Admin — Avo is the latest in a line of Rails-based boilerplate / starter apps, and a particularly solid one at that. (58 minutes.) Code with Jason Podcast podcast |
EXTRAS:
|
🛠 Code & Tools |
Bashly: Bash CLI Script Framework and Generator — This is an interesting idea. You declare the basic user-facing elements of a CLI tool (arguments, environment variables, command groups, default values, and more) and Bashly generates the bash code to make it a reality – you can then flesh out the actual functionality from there. There are a lot of examples in the GitHub repo. Danny Ben Shitrit |
Don’t Let Your Issue Tracker Be a Four-Letter Word. Use Shortcut Shortcut (formerly Clubhouse.io) sponsor |
Tobox: Implementation of the 'Transactional Outbox' Pattern — Simple, data-first events processing based around the transactional outbox pattern. tobox executes your handlers in a worker pool which can be either thread or fiber based. HoneyryderChuck |
|
|