- Short Ruby Newsletter
- Posts
- Short Ruby Newsletter - edition 113
Short Ruby Newsletter - edition 113
The one where we have two web framework releases, Rails 8 and Hanami 2.2, and two Rubies releases, Ruby 3.3.6 and JRuby 9.4.9.0 - it is the best time to code!
Table of Contents
(ad π)
Unlock Windsurf Editor, by Codeium.
Introducing the Windsurf Editor, the first agentic IDE. All the features you know and love from Codeiumβs extensions plus new capabilities such as Cascade that act as collaborative AI agents, combining the best of copilot and agent systems. This flow state of working with AI creates a step-change in AI capability that results in truly magical moments.
π Launches and discounts
π Ruby Cademy launched Presale: RubyCademy Cards - 1st Edition
Source: @RubyCademy
π Rob Race launched Rails Simple Auth - Unlock Rails 8 Authentication
Source: simplerailsauth.com
π Events
π Brighton Ruby announced videos from 2024 are up and the tickets for 2025 are on sale
Source: @brightonruby
π Ruby Conf shared about Ruby Conf Hack Day
Source: @rubyconf
π Check RubyConferences.org for meetups or conferences happening this week and donβt forget to submit yours if you are organising one.
π All about Code and Ruby
π Please take a few seconds to reflect if you want to upgrade your newsletter subscription to a paid version. You will enjoy an ad-free edition and support the newsletter for as low as 8$ per month. Here are more reasons why I think you should upgrade to paid.
π Takashi Kokubun announced Ruby 3.3.6 Released
Postmodern announced that Ruby 3.3.6 is added to ruby-install: Installs Ruby, JRuby, TruffleRuby, or mruby
π David Heinemeier Hansson announced Rails 8.0: No PaaS Required
Source: @dhh
Nony Dutton added:
Source: @nonster.bsky.social
π J Ruby Dev Team announced a new version of JRuby 9.4.9.0 Released
Source: @jruby
π Hanami announced Hanami 2.2: Persistence pays off
π Andy Croll is looking for more mentors for Find a mentor in the Ruby community | First Ruby Friend
Source: @andycroll
π» Code Samples
οΈπ» Xavier Noria shared about using Module#set_temporary_name:
Source: @fxn
Other ways to achieve the same:
Source: @pankowecki
Source: @_m27e
π» Samuel Williams shared in context of running bundler in paralell about configuring MAKEFLAGs:
οΈπ» Josh Branchaud shared about Prefer select_all Over execute For Read Queries
π» Ufuk Kayserilioglu shared about the all-ruby tool
Source: @ufuk.dev
Source: https://github.com/ruby/all-ruby
π» Thiago Araujo shared a code sample
Source: @thd.codes
οΈπ» RoR vs Wild shared about importing a lot of records:
Source: @rorvswild
οΈ Esparta shared a code sample about literals - Documentation for Ruby 3.4
οΈπ» Ruby Cademy shared a code sample about normalizes macro:
Source: @RubyCademy
οΈπ» Lucian Ghinda shared about ruby/debug gem:
Source: @ahmednadar
οΈπ» Ruby Cademy shared about using immutable_string:
Source: @RubyCademy
they also shared about:
Source: @RubyCademy
οΈπ» Brad Gessler shared a code sample about using Phlex:
Source: @bradgessler
οΈπ» Yaroslav Shmarov shared how they implemented Cmd+Enter for submitting comments:
Source: @yarotheslav (read on Threadreader)
Source: @yarotheslav
οΈπ» Vincent Rolea shared about implementing resume the session:
Source: @vincentrolea (read on Threadreader)
π» Stan Lo announced that RDoc got ancestor list in the class pageβs sidebar thanks to Alex Bernard contribution:
Source: @_st0012
π» Maciej Mensfeld shared about Precompute embedded string literals hash code by etiennebarrie Β· Pull Request #10596
Source: @maciejmensfeld
π» Samuel Williams shared a benchmark about the performance of async-http + protocol-http + protocol-rack:
Source: @ioquatix
οΈπ» Γtalo Matos shared a code sample about Refinements:
Source: @italomatos
π Thinking about Code Design
οΈπ Jorge Manrubia shared about Systematic system tests considered harmful
Source: @jorgemanru
οΈπ Jason Swett shared about how to think about authorization:
Source: @JasonSwett
οΈπ BenjamΓn Silva H. shared the performance from enabling jemalloc:
Source: @bsilva96
π‘Around code (news, findings, books, and more - all about Ruby)
π‘Ruby On Rails shared [RF-DOCS] Action Controller Overview and Advanced Topics Guides [ci-skip] by bhumi1102 Β· Pull Request #53551 Β· rails/rails
Source: @rails
π‘ Colby Swandale shared they are introducing a Maintainer Role at RubyGems Blog
Source: @oceanicpanda
β€οΈ Why Choose Ruby and Rails
β€οΈ Typecraft shared about Rails 8:
Source: @typecraft_dev
β€οΈ Irina Nazarova shared about being louder about Ruby:
Source: @inazarova.bsky.social
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Olly Headey open-sourced their web-app - pagecord - A minimalist blogging app powered by email
Source: https://pagecord.com
π Stephen Margheim announced a new gem called chaotic_job - Test ActiveJobs for reliability and resilience
Source: @fractaledmind.bsky.social
π Nate Hopkins announced a new gem local_bus: A lightweight pub/sub system for decoupled intra-process communication in Ruby applications
You can see a demo of LocalBus on Youtube.
π John Hawthorn announced a new gem delta_debug - This implements Andreas Zeller's Delta Debugging ddmin algorithm, which aims to take a failing test input and reduce it to a smaller failing input
π Alessandro Rodi announced a new gem of hotsheet: Manage your database with a simple and familiar web interface
Source: @coorasse
π Vladislav Trotsenko published a new gem called ruby-rspec-mock - RSpec dual mocking compatibility. Use RSpec's mocks as secondary, alongside a primary, alternative mocking library.
π§° Updates
π§° Avo announced a new version of Avo 3.14 - Ο - Explicit authorization, reload individual rows, and eject controllers
Source: https://avohq.io/releases/3.14
π§° Jean Boussier announced a new release of ruby/json
π§° Peter Solnica announced a new version of dry-rb - dry-operation v1.0 - Introduction
π§° Jeremy Evans announced a new version of by 1.1.0 Released Β· jeremyevans/by Β· Discussion #5
Source: @jeremyevans0
π§° Mari Imaizumi announced a new version of Release v0.5.11 Β· ruby/reline Β· GitHub
Source: @ima1zumi
π€ Samuel Williams shared about default configurations:
Source: @ioquatix
οΈπ€ Xavier Noria shared about API docs:
Source: @fxn
π€ Jason Swett shared about programming as creative work:
Source: @JasonSwett
οΈπ€ Jeremy Smith an advice about setting up AWS S3 buckets for developers:
Source: @jeremysmithco
π€ Bilal Hussain shared lesser-known (or better said used) HTML features (here is the first part - but click to see the entire image)
Source: @BilliCodes (see on Threadreader)
π€ Kyrylo Silin shared about Zsh repeat command:
Source: @kyrylosilin
π€ Akash Manohar shared about setting Stripe:
Source: @HashNuke
More content: π π π§ π₯ βπΎ
π This Week In Rails published a new article about Rails 8.0: No PaaS Required
π Hotwire Weekly published a new article about Week 45 - Hotwire Live Reload, Alpine.js as an alternative, and more!
π Ruby Weekly published a new article about This one's for Jason Seifer
π Awesome Ruby Newsletter published a new article about Issue 442 - Low-poly image generation using evolutionary algorithms in Ruby
π§ Podcasts
π§ The Rails Changelog published a new podcast about The Rails Changelog | 028: Discussing Rubyβs Data class, some Ruby quirks with Victor Shepelev
π§ David Hill published a new episode of Ode to RailsConf about Ashley Ellis Pearce
π§ Jason Swett published a new podcast about The Code with Jason Podcast - Code with Jason
π§ Thoughtbot published a new podcast about The Bike Shed: 445: Working Iteratively
π§ RemoteRuby published a new podcast about Solid Cable with Nick Pezza
π½οΈ π₯ Videos
π₯ Ruby Conf published a new video about Ruby Talks: Sebastian Suttner of Cedarcode on Supporting Ruby Central & RubyConf
π₯ Confreaks, Llc published the videos from Rocky Mountain Ruby 2024
π₯ Emmanuel Hayford published a new video about How to Create a Custom Offline Fallback Page with Rails
π₯ Dean De Hart published a new video about Rails 8 FTP Server with Kamal 2 and SFTP Go
π₯ Thoughtbot published a new video about AI in Focus: Answer questions from internal documentation with AI
π₯ Jeremy Smith published a new video about This week I setup 2 CDNs for Liminal, here's how (and why)...
π₯ Kaleb Lape published a new video about Your Rails app security checklist and about Three reasons CSS-Zero belongs in your Rails 8 stack
βπΎ Articles
Whatβs new π
Ruby Central published an article about A New Chapter for RubyGems: How Ruby Central is Building a Sustainable Future
Kasper Timm Hansen published an article about How to Grok a Rails Application for the First Time
Julian Rubisch published an article about The Ultimate Guide to implementing Hotwire and Turbo in a Rails application
Andrey Marchenko published an article about How We Built a Ruby Library That Saves 50% in Testing Time
Andrea Fomera published an article about Why (and when!) I use ViewComponents
Thomas Countz published an article about Low-Poly Image Generation using Evolutionary Algorithms in Ruby
Felipe Vogel published an article about Alpine.js as a Stimulus alternative | Felipe Vogel
JoΓ«l Quenneville published a new article about 4 tips when getting started with Hotwire
Greg Molnar published a new article about Deploying a Jekyll site with Kamal
Hugo Vast published an article about My journey to send 100 mails to 500k effortlessly
Dimiter Petrov published a new article about "We don't deploy on Fridays"
JuliΓ‘n PinzΓ³n Eslava published an article about Customising Single Table Inheritance mapping in Active Record
William Kennedy published a new article about Up and Running with Hotwire Native iOS 3 - Bridge Components
JetThoughts published an article about Ruby on Rails 8: Custom Compression for Encrypted Data
Alexandre Barret published an article about Perfecting Your Rails Form: Nested Attributes
BestWeb Ventures published an article about Ruby on Rails 8 Concurrency Guide: Modern Parallel Processing and about Web Application Security in Ruby on Rails: A Comprehensive Guide 2024
Joey Wang published an article about From CI Nightmares to Reliable Builds: A Developer's Guide to Retry Mechanisms
Prasanth Chaduvula published an article about Rails 7.1 Adds exclude? And extract_value methods To ActionController::Parameters
Ahmed Nadar published an article about Common Issues with Rails Textarea Whitespace Behaviour
Rails Designer published a new article about Store UI State in localStorage with Stimulus
How-TOs π
Exequiel Rozas published a new article about Friendly URLs with the FriendlyId gem
Mika Henriksson published an article about How to use kamal destinations and about Server provisioning for a kamal setup
Paul Sturgess published an article about How to Deploy a Ruby on Rails Application to Katapult Using Kamal 2
Stefan Wienert published an article about Postfix + ActionMailbox - integrating into existing postfix server by using aliases + curl command
Shah Zaib published an article about Handling Errors and Job Lifecycles in Rails 7.1: Master ActiveJob with retry_on
, discard_on
, and after_discard
Kevin Sylvestre published an article about Using GraphQL with LLMs in Ruby
Reni Mercier published an article about Poking around PostgreSQL full-text search: a beginners primer
Reply