🇺🇦 #​598 — April 7, 2022 |
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 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:
|
|
📕 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 |
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
|
country_select: It's Rails's |
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 |