🇺🇦 #​598 — April 7, 2022

Read on the Web

Ruby Weekly

Ruby 3.2.0 Preview 1 Released — Sure, 3.2 isn’t due till Christmas, but Christmas has come early in the shape of the first preview release. What’s new? A timeout feature for regular expressions, WebAssembly support (as long as your code isn’t relying on threads..), and third party sources will no longer be bundled (bye libyaml and libffi – this may make installation trickier on some platforms). Find patterns are no longer considered experimental, too.

Yui Naruse

Why Ruby Has Symbols — We love articles like this where someone who clearly loves Ruby digs into a well-known and essential part of the language and exposes all the technical details of how it’s done. (Very long-time Rubyists may even remember a pre-symbol era of Ruby..)

Dmitry Tsepelev

Long Term Support for Ruby on Rails 2.3, 3.2, 4.2, and 5.2 — Rails LTS provides extended support for old versions of Ruby on Rails. Drop-in gem replacements are available for Rails 5.2, Rails 4.2, Rails 3.2 and Rails 2.3. You can even run your old Rails app with modern Ruby versions.

Rails LTS sponsor

Magnus: Ruby Bindings for Rust — Aims to provide a way to write Ruby extensions in Rust (or, alternatively, call Ruby code from Rust). Halton is a real world demo of Magnus in the shape of a gem for generating Halton sequences.

Mat Sadler

🇺🇦 Devs For Ukraine: An Online Dev Event to Support Ukraine — Well known names from both the front end and back end development worlds have come together in this noble effort. Any Rubyists? You bet: Sandi Metz and Aaron Patterson for starters. The event itself takes place online on April 25-26. Слава Україні!

Remote

Quick Bit:

  • If you're using Ruby serverlessly, AWS Lambda has added support for 'function URLs' – built-in HTTPS endpoints that go direct to your functions without needing API Gateway.

Jobs

Senior Software Engineer (Elixir) — Good Club is the UK’s only Zero Waste e-commerce grocery service. We're looking for a Ruby/Elixir engineer that is passionate about the planet.
Good Club

Full Stack Engineer - React/Rails (Remote) — Got 5-7 years of experience? We're seeking an engineer that writes accessible, scalable and maintainable code that enjoys the product side of development to join our Onboarding team.
ConvertKit

4 Senior ROR Engineers — Mastered ROR (6-8 years of XP)? Join Anka: The all-in-one solution to export products made of Africa globally. Great technical challenges, fast development opportunities, and a badass team.
Anka

Find Ruby Jobs Through Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers.
Hired

📕 Articles & Tutorials

▶  Working with a Label Maker from Ruby — Learn how to turn your tweets into physical printouts with a label maker via the Cups/PPD API. Certainly not your typical Ruby tutorial :-)

David Kimura

Authorization in Rails Controllers: Pundit vs. CanCan — If you’re trying to decide which authorization gem to use, Domhnall has done a lot of the work for you and even has a recommendation.

Domhnall Murphy

React on Rails - How To Build a Simple App — In this article we learn how to create a React app from scratch and integrate it with a Rails back-end via webpacker.💪

Honeybadger sponsor

RSpec.describe vs. describe — They’re basically the same thing but Jake suggests we use the more precise version.

Jake Worth

'Using Feature Flags to Rewrite Every View in Our Rails App' — How Wrapbook managed rewriting 400+ ERB views while avoiding a big bang rollout and make this large change a stress-free, 'boring even' event.

Leigh Halliday (Wrapbook)

🛠 Code & Tools

Moneta 1.5.0: A Unified Interface to Key/Value Stores — Supports a variety of systems (about 20 in all – including Redis, Memcached, a simple in memory store, PStore, and even Active Record) and aims to offer consistent behavior across them with full configuration of the serialization process and atomic ops.

Mendler, Katz, and Pharo

Page Title Helper 6.0: I18ned and DRY Page Titles and Headings for Rails — 6.0 adds Ruby 3.1 and Rails 7.0 support.

Lukas Westermann

xsv 1.1.1: Fast, Lightweight XLSX (Excel) Parser for Ruby — Got spreadsheets? Want a quick, minimalist way to parse them?

Martijn Storck

Your Localization Platform: Develop, Translate, Deploy - Reiterate

WebTranslateit.com sponsor

MessagePack Implementation for Ruby v1.5 — MessagePack is an efficient binary serialization format that bills itself to be ‘like JSON but fast and small.’

MessagePack

Groupdate 6.1: A Simple Way to Group Temporal Data — For example, to group data by day, week, hour, etc.

Andrew Kane

BitArray 1.3: A Pure Ruby Bit Array/Bitfield Implementation
Peter Cooper

country_select: It's Rails's country_select as a Gem
Michael Koziarski

Martian Mono: An Open-Source Monospace Type Family — Consisting of a variable font and 28 styles focused on basic Latin, figures, punctuation, and essential symbols for now. Not Ruby specific but Evil Martians have put out a lot of great Ruby blog posts over the years, so it’s neat to see a font from them.

Evil Martians