Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Last Friday
Superform 0.6.x released
Released a big update to Superform! Notes at https://beautifulruby.com/code/superform-0-6-x-released. Some highlights include much better Erb ergonomics, automatic strong parameters (the form does it!), HTML 5 helpers, and more.
AIA is Concurrently Multi-Model
AIA (AI Assistant) version 0.9.12 has been release. Its big new feature is concurrent models! Sent your prompts to multiple models at the same time-ish. In an Async process your prompt can go to many different models of your choice—you must have creds for all the providers. Why? well to compare responses; to generate a consensus; to have more than one robot in your chat sessions; to evaluate the way your prompt is handled by multiple models in a side by side comparison; because I’ve seen no one else do it on the command line and I thought it would be cool. [more inside]
How to get help with Ruby questions
When you’re getting started it’s easy to get lost or you can get stuck when trying to work on an exercise or project. [more inside]
Callback Hell, a gem to list and detect all callbacks and validations in Rails models
Callback Hell analyzes your Rails application models and provides actionable insights on callbacks and validations. Use it to identify models that might benefit from refactoring, spot callback pollution from gems and associations, and keep your models clean and maintainable.
Wubular: a browser-native (Ruby WebAssembly) clone of Rubular
Introducing Wubular: a new Rubular-style regex tester rebuilt to run entirely in the browser, powered by Ruby compiled to WebAssembly. No backend, instant feedback, and full privacy — your test strings never leave the page.
Serviz - New release with Workflows
Serviz provides a minimal “command object Interface” for your Ruby apps. There are several gems in this space, but this one provides a really small API and footprint (code is around 80 lines). [more inside]
Async render in Rails
https://github.com/igorkasyanchuk/async_render allows you to squeeze 5-15% of performance of your existing Rails app with just a few lines of code.
ClusterKit: High-performance UMAP and clustering for Ruby
ClusterKit brings state-of-the-art dimensionality reduction and clustering algorithms to Ruby through native Rust bindings. Run UMAP, PCA, K-means, and HDBSCAN directly in your Ruby process with performance matching Python’s scikit-learn - no Python required. [more inside]
How to edit images with Gemini
This post documents how to edit an image with Gemini + llm.rb
Install any ruby version in minutes
3 step process to get you up and running in less than 15 minutes [more inside]
Live tests in Ruby on Rails
Did you know you can execute live tests on your Rails apps? In this blog post I will explore the available tools and the small changes we need to introduce live tests in our flow. [more inside]
User-Specific Content in Turbo Stream Partials
https://railsdesigner.com/user-content-turbo-streams/
Exploiting the two recent Rails CVE
I wrote a short piece about how the the two recent Rails CVEs could be exploited: https://greg.molnar.io/blog/rails-cve-2025-55193-and-cve-2025-24293/
dsa.rb: Practice core dsa in Ruby from the command line
My first open source Ruby tool: https://github.com/carter2099/dsa.rb [more inside]
*NEW GEM* ActsAsActive: Plug-and-play activity tracking for ActiveRecord
ActsAsActive is a plug-and-play Rails extension that adds activity tracking to any model. It wires a polymorphic association and records Activity rows on the lifecycle events you choose, then surfaces daily counts, streak analytics, and heatmap-friendly data. Works with PostgreSQL or MySQL/SQLite and ships with a metadata column for extra context—plus a namespaced model (ActsAsActive::Activity) and generators so you can set it up in seconds. Feedback and PRs welcome. [more inside]
The Long Game: why Rails survived the hype cycle and what it means for your startup
Just a few years ago, Rails was supposedly “dead.” The framework that once powered 90% of Y Combinator batches had lost favor. Shiny new alternatives took center stage. Rails was declared passé. But now, Rails is thriving. [more inside]
Apple Wallet Passes in Rails Apps
Keeping our users engaged beyond just opening our web application can significantly boost retention and user satisfaction. That’s why integrating with Apple Wallet allows us to put our content directly on users’ lock screens and in their daily workflows. In this article, we will integrate Apple Wallet Passes in Rails to create signed passes that users can add to their phones with a single tap. Full article on our technical blog: https://avohq.io/blog/apple-wallet-passes-in-rails-apps
Exploring CVE-2025-55193 - ANSI escape injection in Active Record logging
After last week’s security patches in Rails, I tested the ANSI escape injection vulnerability. I was curious about the damage it can do. [more inside]