Short Ruby Newsletter - edition 146

The one where Andrea Fomera launches her new app FileKeep, new Ruby on Rails versions are announced, and we get the latest news on upcoming conferences like Friendly.rb and Kaigi On Rails

In partnership with

Table of Contents

(ad) Visit Judoscale.com - one click autoscaling, smart metrics, without the confusing config

Visit judoscale

Let Judoscale tame your Heroku bill πŸ’΅

  • πŸ“Š Automatically scale based on what you actually need

  • πŸ“‰ Shut down worker dynos when they have no jobs

  • πŸ’° Most customers save over 40% on their Heroku bill

After adding Judoscale, we’re on track to save over $700 per month on our production serversβ€”over half of our monthly compute cost!

πŸš€ Launches and discounts

πŸš€ Andrea Fomera launched FileKeep

πŸ“… Events

πŸ“… Friendly.rb is close so I wrote 3 articles about why you should join this conference:

πŸ“… Euruko is looking for a Master of Ceremonies. Hurry up and apply by August 21st β†’ FORM: Help us make Euruko unforgettable β€” as our MC!

Source: @euruko

Source: @euruko

πŸ“… Kaigi On Rails announced that tickets are now available for sale. Hurry up and get yourself one β†’ Kaigi On Rails 2025 Tickets

πŸ“… Yasuo Honda shared he will a presentation at RailsTokyo 2025, which will happen on October 16th. Tickets are available here β†’ Connpass RailsTokyo 2025 Tickets

Source: @yahonda

πŸ‘‰ All about Code and Ruby

πŸ‘‰ RubyOnRails released new versions: 7.1.5.2, 7.2.2.2 and 8.0.2.1

πŸ’» Code Samples

οΈοΈπŸ’» Ruby Cademy posted a code sample about new Rails 8 addition β†’ β€œattribute_writer_missingβ€œ

Source: @RubyCademy

οΈπŸ’» Nate Berkopec shared how to check if you’re running jemalloc with Ruby correctly

οΈπŸ’» Dima Fatko shared that Rails will have a new optimization for enqueue many emails at once. For more details, check his PR β†’ Add β€œdeliver_all_later” to enqueue multiple emails at once

Source: @fatkodima

οΈπŸ’» Victor Cobos shared a trick from turbo_power β†’ turbo_stream.toggle_css_class supports force:

Source: @elalemanyo

οΈπŸ’» Julian Kaiser shared a code sample about using RubyLLM

Source: @jksr194

οΈπŸ’» Stephen Margheim three different Stimulus controllers for deterministic avatar image generators. You can check them from here:

οΈπŸ’» Matheus Richard reminded us about ActiveRecord.to_param

Source: @matheusrich

οΈπŸ’» James Kerr shared his new script creation β†’ View Component Generator Script

οΈπŸ’» John Nunemaker shared a code sample about the usage of .clamp method

Source: @jnunemaker

οΈπŸ’» Brandon Weaver shared a code sample about Ruby Pattern Matching

οΈπŸ’» Alexandre Ruban shared a code sample about ActiveStorage::Blob

οΈπŸ’» Jens Eickmeyer shared how to configure Ruby LSP extension to debug Rails applications and RSpect tests in VS Code

οΈπŸ’» Ruby Cademy shared a code sample about the usage of clamp() method

Source: @RubyCademy

Source: @RubyCademy

Fact-based news without bias awaits. Make 1440 your choice today.

Overwhelmed by biased news? Cut through the clutter and get straight facts with your daily 1440 digest. From politics to sports, join millions who start their day informed.

πŸ“ Thinking about Code Design

οΈπŸ“οΈ Jeremy Smith shared a new perspective about top-level namespaces

οΈπŸ“ Robby Russell shared his take on internal tooling. For more details, consider taking a look at his blog post β†’ The Internal Tooling Maturity Ladder

οΈπŸ“ Maciej Mensfeld shared an improvement added to Rails by Jean Boussier, emphasizing the power of a clever refactoring

οΈπŸ“ Noel Rappin asked his community about configuration best practices

He got some replies:

πŸ’‘Around code (news, findings, books, and more - all about Ruby)

πŸ’‘ Nicolas Erlichman announced that he will present β€œPoly-table Inheritanceβ€œ at Friendly.rb next month. He is interested to see how many of you are familiar with some concepts. For that he made a short questionnaire β†’ Poly-table Inheritance

πŸ’‘ Alex Rudall proudly announced that his gem, ruby-openai was recently selected for the Github Secure Source Fund

Source: @alexrudall

πŸ’‘ Robby Russell asked about what is important for the community to know about developer experience, pointing to next month talk at Rails World

πŸ’‘ Typecraft announced a future live workshop that will expand on topics from his Rails New series

❀️ Why Choose Ruby and Rails

❀️Here are two comments about why people should choose Ruby and Ruby on Rails from this discussion on Reddit

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

πŸ†• Samad Ahmed announced a new gem β†’ ruby-categorize-transactions - β€œA practical real-world example of categorizing transactions with AI using Rubyβ€œ

πŸ†• Abdelkader Boudih announced a new gem β†’ rails_lens - β€œComprehensive Rails application visualization and annotation tool - precision optics for the Rails universeβ€œ

πŸ†• Brad Gessler made server source available

πŸ†• Scott Werner announced two new gems:

  • vsm - β€œVSM is a tiny, idiomatic Ruby runtime for building agentic systems with a clear spine: Operations, Coordination, Intelligence, Governance, and Identity.β€œ

  • airb - β€œCLI-based programming agent for Ruby with VSM architectureβ€œ

πŸ†• Igor Kasyanchuk announced a new gem rspec_power - "A collection of helpers and contexts to enhance Rails specs: logging, env/I18n/time helpers, SQL guards, request/DB dumps, benchmarking, CI guards, and performance limits."

🧰 Updates

🧰 Alex Rudall announced a new version of ruby-openai - β€œOpenAI API + Ruby! πŸ€–β€οΈ GPT-5 & Realtime WebRTC compatible!β€œ

Source: @alexrudall

🧰 Jeremy Evans announced a new version of roda - β€œRouting Tree Web Toolkitβ€œ

🧰 Svyatoslav Kryukov announced an update for Inertia Rails ecosystem. You can check these starter kits right from here β†’ vue-starter-kit & svelte-starter-kit

🧰 Carmine Paolino announced a new version of ruby_llm - β€œStop juggling AI SDKs! RubyLLM offers one delightful Ruby interface for OpenAI, Anthropic, Gemini, Bedrock, OpenRouter, DeepSeek, Ollama & compatible APIs. Chat, Vision, Audio, PDF, Images, Embeddings, Tools, Streaming & Rails integration.β€œ

🧰 Jean Boussier contributed with an update to Rails β†’ Allow to use either :unprocessable_entity or :unprocessable_content

🧰 Ben Roesch announced a new version of raif - β€œRuby AI Frameworkβ€œ

🧰 Denis Sellu announced a new gem brave_search - "Simple Ruby client for Brave Search API with Rails integration"

🀝 Jonathan Frias shared about how to expose local development via internet:

🀝 Typecraft shared that his mini-course about Vim is free β†’ Vim for Beginners: Your First Steps

🀝 Joey Wang shared a nice git trick to have multiple GitHub accounts

Source: @alazycoder2

🀝 Claude shared a new feature for Claude Code β†’ output styles

Source: @claudeai

🀝 Startup Archive shared some explanations from Shopify CEO Tobi Lutke about Goodhart’s law and why he doesn’t like KPIs or OKRs

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

πŸ—ž Newsletters

πŸ—ž Ruby On Rails published a new edition β†’ Structured Event Reporting lands in Rails!

πŸ—ž Token Ruby published a new edition β†’ Token Ruby: First Principles of AI and Claude Code Hot Takes

πŸ—ž Awesome Ruby Newsletter published a new article about Issue 482 - Mouthguards that flash red with head impacts to be used at Rugby World Cup

🎧 Podcasts

🎧 Ruby On Rails published a new podcast episode β†’ Ryan Stawarz & Austin Story: Inside Doximity’s 15-Year Rails Monolith

🎧 Brendan Buckingham published a new podcast episode β†’ Rails Business - Irina Nazarova

🎧 The Ruby Gems Podcast published a podcast episode β†’ Sarah Mei: RailsBridge, Community Building, and the Human Side of Code

🎧 The Bikeshed published a new episode β†’ 469: How are we using AI? with Jimmy Thigpen

🎧 The Ruby AI Podcast published a new episode β†’ Roasting Ruby AI Workflows with Obie Fernandez

🎧 Pablo Curell published a new episode β†’ 19 - On metrics with Rachel and Thierry

🎧 Remote Ruby published a new episode β†’ The Road To Rails 8

πŸŽ₯ Videos

πŸŽ₯ Drifting Ruby published a new video β†’ Tailwind Plus

πŸŽ₯ Travis Dockter published a new video β†’ Interview: Cirdes Henrique (Organizer)

✍🏾 Articles

What’s new πŸ†•

πŸ†• Jean Boussier published a new article about Unlocking Ractors: generic instance variables

πŸ†• Mintbit published a new article about Chaining Transformations with .then in Ruby

πŸ†• Josef Ε imΓ‘nek published a new article about We Ruby March 2025 Ecosystem Report

πŸ†• George Asfour published a new article about Circuit breakers and Ruby in 2025: don't break your launch

πŸ†• Jared Norman published a new article about Undervalued: The Most Useful Design Pattern

πŸ†• Robert published a new article about The RAG pattern in 32 lines of Ruby code

πŸ†• Andres Chacon published a new article about OasGrape: An Alternative for Generating Your API Documentation

How-TOs πŸ“

πŸ“ Jens Eickmeyer published a new article about How to Debug Rails Applications and Tests in VS Code

πŸ“ Avo published a new article about Referral System in Rails applications

πŸ“ Saurabh Puri published a new article about Containerization Made Simple: Dockerize Your Rails App Today

πŸ“ Julian Rubisch published a new article about Extend ActiveStorage for Ruby on Rails with Custom Previewers

πŸ“ Daniel Schoppmann published a new article about Organizing Mailer Templates with prepend_view_path in Rails

πŸ“ Rails Designer published a new article about String Inflectors: bring a bit of Rails into JavaScript

✍️ Jeremy Kreutzbender published a new article about Server Implementation Plan For Rocicorp's Zero - Custom Mutators

✍️ Zeke Gabrielse published a new article about Self-sabotage

✍️ Conrad Irwin published a new article about Why LLMs Can't Really Build Software

✍️ Rich Steinmetz published a new article about [4/4] Code with LLMs in parallel

Reply

or to participate.