- Short Ruby Newsletter
- Posts
- Short Ruby Newsletter - edition 122
Short Ruby Newsletter - edition 122
The one with a new markdown editor for Rails, benchmarks caching solutions for Rails and 18 inspiring Ruby and Rails code samples
Table of Contents
(ad)
Thereβs a reason 400,000 professionals read this daily.
Join The AI Report, trusted by 400,000+ professionals at Google, Microsoft, and OpenAI. Get daily insights, tools, and strategies to master practical AI skills that drive results.
π Launches and discounts
π Adrian Marin announced a new markdown editor MARKSMITH. Link to Github repo
π Events
π On 28 February 2025, there will be the Ruby Community Conference in Poland. If you want to join there are still tickets available:
Source: www.rubycommunityconference.com
π This week there are 18 meetups happening all around the world: check https://rubyconferences.org/meetups/ to see where they are happening:
Source: rubyconferences.org/meetups
π Boulder Ruby shared an event Boulder Ruby Feb 2025 Presentation Night Β· Luma
Source: @boulderruby
π Vienna.Rb shared an event vienna.rb #63 - Ruby Spring Meetup, Thu, Mar 6, 2025, 6:30 PM | Meetup
Source: @viennarb
π All about Code and Ruby
π Nagachika announced a new Ruby 3.2.7 Release:
π Sandip Mane published a new article about Benchmarking caching in Rails with Redis vs the alternatives
π Petr Hlavicka published a new article about Flexible API versioning with Rails:
π Jeremy Smith published an article about Upgrading a Rails App to Tailwind v4
π» Code Samples
οΈπ» Josh Branchaud shared about string slice feature https://github.com/jbranchaud/til/blob/master/ruby/extract-capture-group-matches-with-string-slices.md
Source: @jbranchaud.bsky.social
and Gregory Brown added:
Source: @skillstopractice.com
π» Gregory Brown shared a thread about bug hunting:
Source: @skillstopractice.com
and he asked some questions based on the code he shared (please visit and see the full code on Bluesky):
Source: @skillstopractice.com
π» Joel Drapper shared a thread about using postfix conditional expressions
Source: @joel.drapper.me
and he also showed an example of how hash keys are silently deduplicated :
Source: @joel.drapper.me
π» Chris Blunt shared a code sample about working with Kamal on a Rails app
Source: @cblunt.bsky.social
οΈπ» Bugloper shared some ways to output an array of hashes with y
& j
commands ( YAML & JSON formatter ) in IRB:
Source: @bugloper
οΈπ» Igor Alexandrov shared a way to extend βhas_manyβ associations with a custom method
Source: @igor_alexandrov
οΈπ» Ruby Cademy shared a snippet of how to create inheritable class-level attributes
Source: @RubyCademy
οΈπ» Jonathan Frias shared a post about non-Active Record objects
Source: @jonathanfrias99
Source: @jonathanfrias99
οΈπ» Ruby Cademy shared about method and class attribute naming conflicts
Source: @RubyCademy
οΈπ» Jorge Manrubia shared a snippet about Active Record Search:
Source: @jorgemanru
οΈπ» Brad Gessler shared a thread about Rails controllers
Source: @bradgessler
Source: @bradgessler
Source: @bradgessler
οΈπ» BenjamΓn Silva shared a way of testing the cache:
Source: @bsilva96
and there is his implementation:
Source: @bsilva96
οΈπ» Ruby Cademy shared a post about Replacing ActiveRecord enums
Source: @RubyCademy
οΈπ» Brad Gessler shared about using it in a blog and calling a proc:
Source: @bradgessler
οΈπ» Collin shared about using it
named parameter:
Source: @collin_jilbert
and οΈMarco Roth responded to this post with :
Source: @marcoroth_
π» Andrea Fomera posted about learning and building a version system for APIs
Source: @afomera.dev
Source: @afomera.dev
Andrea Fomera received some suggestions and implemented modifications.
Source: @afomera.dev
Click here for the full post and code snippet.
π» Scott Watermasysk shared a code sample to demonstrate the difference for date precision between OS X and Linux
Source: @scottw.com
He also posted the results of this code sample:
Source: @scottw.com
οΈπ» Rich Steinmetz shared an observation about Ruby and Minitest method naming
Source: @RichStoneIO
and he continued with a suggestion:
Source: @RichStoneIO
π Thinking about Code Design
οΈπ Rob Zolkos shared about removing extra gems and relying on Rails auth generator:
Source: @robzolkos
and Christian Genco asked:
Source: @robzolkos
Rob Zolkos responded with:
Source: @robzolkos
οΈπ NicolΓ‘s GaldΓ‘mez asked the community about job scheduling with Kamal
and Juraj Kostolansky answered:
Source: @jkostolansky
οΈπ Vladimir Dementyev shared some interesting improvements of Action Cable Next GitHub - anycable/actioncable-next: Next-gen Action Cable implementation
Link to this project repository: actioncable-next
Source: @palkan_tula
οΈπ Jeremy Smith posted a thread about his experience of upgrading a Rails app to Tailwind v4 ( please visit and see the full thread for more explanations )
Source: @jeremysmithco
He started to explain the first steps of this process
Source: @jeremysmithco
Source: @jeremysmithco
He also encourage you to check tailwindcss docs when doing this upgrade
Source: @jeremysmithco
The links provided from his messages:
οΈπ Gavin Morrice shared about reasons why people use Service Objects:
Source: @MorriceGavin
Source: @juliknl
οΈπ Donn Felker shared how testing enabled smooth Rails upgrade
Source: @donnfelker
π‘Around code (news, findings, books, and more - all about Ruby)
π‘ Dean De Hart shared about hiring junior developers:
Source: @Deaniocom
π‘ Ruby On Rails announced that Clio joins the Rails Foundation as a Contributing member
Source: @rails
π‘ Zil N asked for the most impressive Rails apps in order to find inspiration
Source: @zilasino
and he got some recommendations of projects from other people:
and there are more in the replies on Twitter.
π‘ Ruby Central shared a job opportunity
Source: @rubycentralorg
π‘ Michael Chaney shared his experience with building Rails apps:
Source: @MichaelDChaney
π‘ Stanislav Katkov shared what he found out about the TRMNL startup
π‘ Steve Ike asked the community to share their favorite Rails apps that they use or are building
Source: @steve_ike_
Here is a list of companies/projects extracted from this thread:
π‘ Kant asked about choosing frameworks
Source: @_kant01
and got a response from Andreas Finger
β€οΈ Why Choose Ruby and Rails
β€οΈ Darksea shared his appreciation for Rails framework
Source: @darkseadev
β€οΈ Rails Ui shared that he likes the frontend options offered by Rails
Source: @railsui_
β€οΈ Robert shared some thoughts of building small Ruby apps
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Mark Hesketh announced his new gem GitHub - markahesketh/rustywind-ruby: A Ruby wrapper for rustywind, a CLI utility for sorting Tailwind CSS classes
Source: @markahesketh
and also wrote an article about this gem: https://www.markhesketh.com/blog/introducing-rustywind-ruby
π§° Updates
π§° Avo for Ruby on Rails announced a release of version v3.17.0, coming with big changes:
π§° postmodern-mod3.bsky.social announced a new release on ruby-install
Source: @postmodern-mod3.bsky.social
π§° David Heinemeier Hansson announced a new version of Release v2.5.0 Β· basecamp/kamal Β· GitHub
Source: @dhh
Source: @dhh
π§° Greg Molnar announced a new version of ransack
π§° Any Cable announced a new version of anycable/anycasts_demo: Demo applications used in AnyCasts
Source: @any_cable
π§° Koichi Ito announced a new version of webmock | RubyGems.org | your community gem host
Source: @koic
π§° Brad Gessler announced a new version of https://github.com/rubymonolith/uri-builder
Source: @bradgessler.com
π§° Vitaly Slobodin announced an update about Ruby extension for zed β Bump Ruby to v0.4.4 by vitallium Β· Pull Request #1991 Β· zed-industries/extensions
Source: @vitallium.bsky.social
π€ PaweΕ ΕwiΔ tkowski shared his thoughts about βModified TDDβ idea
Source: @katafrakt.bsky.social
π€ Jonathan Reinink shared a thread about about Intertia.js project
Source: @reinink
Source: @reinink
π Gergely Orosz made a post about the unique behavior and mindset of software developers as customers, particularly regarding developer tools and services
Source: @GergelyOrosz
Source: @GergelyOrosz
Source: @GergelyOrosz
π€ Jorge Manrubia shared some thoughts about writing
Source: @jorgemanru
π€ Jorge Manrubia posted some advices for software design
Source: @jorgemanru
π€ Catalin Pit talks about database technology choices
Source: @catalinmpit
π€ Schappi shared a trick for zsh/bash scripting
Source: @schappi.com
More content: π π π§ π₯ βπΎ
π Charles Oliver Nutter shared his slides from FOSDEM 2025 about Invokedynamic in Practice with JRuby
π Any Cable published a new edition of Any Cables Monthly #26
π Ruby Weekly published a new article about Ruby on Rails on WebAssembly
π Ruby On Rails published a new edition about Ruby on Rails β Support joins in update_all for PG and SQLite and more
π Hotwire Weekly published a new edition about Week 06 - Avoid Turbo Morphing Pitfalls, New Markdown Editor, and more!
π Andy Croll published a new edition of One Ruby Thing about Ordinal Numbers in Rails: 1st, 2nd, 3rd, 4th
π Awesome Ruby Newsletter published a new article about π Issue 455 - Ruby "Thread Contention" is simply GVL Queuing | Island94.org
π§ Podcasts
π§ David Hill shared a podcast : Cindy Backman - Ode to RailsConf
π§ IndieRails shared a podcast: IndieRails | Jim Remsik - Genuinely Desiring Success In Those Around Him
π§ Joel Drapper shared a podcast where he was interviewed: Zero Allocations | Dead Code
π§ Ruby Rogues published a new podcast about SQLite Awesomeness with Stephen Margheim ( provided YT link )
π§ Jason Swett published a new podcast about The Code with Jason Podcast - Code with Jason
π§ Jason Charnes, Chris Oliver, Andrew Mason published a new article about High Leverage Rails & SQLite with Stephen Margheim
π§ The Bike Shed published a new article about 454: Workshop design with Aji Slater
π₯ Videos
π₯ Drifting Ruby published a new video about Outlets and Permanent Tags and about Episode 495 - Normalizes
π₯ Ken Greeff published a new video about Ken Greeff | Tracking Link Clicks for Outbound Analytics - Part 11
π₯ Kaleb Lape published a new video about Rails 8 Tutorial: Instant CSS & Stimulus Updates with Hotwire Spark (Zero Config!)
π₯ Jason Swett published a new article about Capturing Individual Test Data - Live Coding on SaturnCI
βπΎ Articles
Whatβs new π
Jean Boussier published a new article about Guardrails Are Not Code Smells
Petr Hlavicka published a new article about Flexible API versioning with Rails
Jeremy Smith published an article about Upgrading a Rails App to Tailwind v4
Brad Gessler published an article about Hacking Rails controller actions and rendering
Pat Shaughnessy published a new article about Inserting One New Element into Hashes of Varying Sizes
PaweΕ ΕwiΔ tkowski shared an article about On validations and the nature of commands
Rails Designer published a new article about Build a Notion-like editor with Rails
Jeremy Kreutzbender shared an article about Using PostgreSQL Functions with Rocicorp's Zero and Ruby on Rails
Jared White shared an article about Finding My Happy Place with Hanami and Serbea Templates
RoRVs Wild published a new article about Optimize Pagination Speed with Asynchronous Queries in Ruby on Rails
Zeke Gabrielse published a new article about Self-promotion
Andrew Vogel and Matt Polito published a new article about Broadcasting User Specific Turbo Content
Jason Swett published a new article about Meatspace abstractions
Avi Flombaum published a new article about Principles and Values
Yuta Kusuno published a new article about [Rails] How We Reduced API Response Rendering Time by 30%
Fritz Meissner published a new article about Reasons not to refactor
Davide Santagelo published an article about A Novel Approach for Text Encryption Using Tokenizers in Ruby and about Davide Santangelo published an article about Building a Tiny Language Model (LLM) in Ruby: A Step-by-Step Guide - V3 "Integrating Reasoning into the Tiny LLM
Maciek Korsan published an article about Improve your user experience with Turbo Frames
Jonatas Davi Paganini published an article about Building a better Ruby ORM for time series and analytics
App Signal published a new article about AppSignal Now Offers Support for Long-Running Streaming Rack Responses in Ruby
Vini Oyama published an article about Changing a Self-Hosted App to a Multi Tenant Hosted App - Postgres Schemas in Rails
How-TOs π
Tristan Dunn published an article about Deploy a Rails Template with Kamal
Radan shared an article about How to avoid problems with Turbo morphing
Moses Gathuku published a new article with Hotwire Examples
Victor Cobos published a new article about Enhancing Esbuild Error Handling in a Rails App
Nick K. published an article about moving average calculation for activejob rails
Olly Headey shared an article about Understanding how lists behave in your email editor
Zeke Gabrielse published a new article about Imposter syndrome
Rich Steinmetz published a new article about Setting up your Mac to make you 1% better (as a developeur)
Jon Sullivan published a new article about A Few Goals For My Next Decade
Jon Sully published an article about Small Teams Need PaaS-Ops, Not DevOps
Reply