Community-driven Ruby news and articles
993 articlesA short article on how multiple Stimulus controllers communicate with each other using dispatch-method in Stimulus controller. https://www.jomppanen.c...
Learn how to integrate the Model Context Protocol (MCP) into your Rails application to create intelligent, AI-powered tools that can interact with you...
Hiring in India is now easier due to Employer of Record (EOR) services. An EOR is a third-party organization. It hires employees for you and manages H...
The golden rule for libraries is to support integration with as many parent apps as possible because you want to cover as much as you can of the full ...
https://beautifulruby.com/code/service-objects is the clearest I’ve been able to articulate what I don’t like about service objects and how I think th...
Himg renders HTML to an image - no browser needed. Add dynamic images to your site with just a .himg.erb template, perfect for transforming boring lin...
https://railsdesigner.com/multistep-forms/
First edition at https://beautifulruby.com/code/superform-simple-select-fields in a series that’s going to compare Rails form helpers with Superform. ...
Red Candle is a Ruby gem that lets you run Llama 2, Llama 3, Mistral, and Gemma large language models directly inside your Ruby process using Rust.
https://pawelurbanek.com/rails-postgresql-mcp
Wrote https://beautifulruby.com/code/simple-phlex-class-variants to explain how to build component variations with nested Ruby classes and endless met...
Token authentication, phone number verification or any form of Two-Factor Authentication are common features nowadays. A pattern that emerges from the...
When you’re dealing with date windows or numeric intervals in Rails, there’s a simple trick to make your queries shorter and more expressive: Ruby’s ....
Your framework to build digital and explorable collections released several enhancements in the last weeks:
Just published a new Ruby gem claude_code — an unofficial SDK for working with Anthropic’s Claude Code via Ruby. It wraps the Claude CLI and supports:
Herb v0.4.0 is out, now with the Herb Linter, a Herb Formatter preview, and deeper editor integration for HTML+ERB.
https://github.com/igorkasyanchuk/editor_opener (a new version was released today: added support for a new Kiro IDE and other minor fixes). Interestin...
https://blog.appsignal.com/2025/07/16/advanced-jit-compilers-for-ruby-truffleruby-and-jruby.html
MiniI18n reaches v1! After some years of stability, it’s time to mark this important milestone 🎉
The fourth update at https://beautifulruby.com/articles/phlex-week-four-update will be one of my final updates during the “still accepting feedback on...
A summary of my experience at the last RailsConf. https://kevinjmurphy.com/posts/railsconf-2025-recap/
The ruby gem aia (AI Assistant) v0.9.9 has been released along with a series of blog articles discussing the CLI-based AI utility starting with the AI...
A Story of Whimsy, Free Kazoos, and Web-Sockets… https://judoscale.com/blog/rails-on-premise-railsconf
The glimmer-web-components Ruby gem aims to offer a collection of reusable Glimmer Web Components for Glimmer DSL for Web (Award Winning Ruby on Rails...
Code snippet at https://beautifulruby.com/code/phlex-turbo-layouts shows how to control Turbo meta tags in the head, and in the page, from one place i...
Creating Custom Enumerable Methods with Ruby Loops
https://pcreux.com/2025/07/09/rails-dashboards-with-sql-and-dry-struct
I would like to introduce you to my short story about the new Ruby on Rails gem. https://medium.com/@kasvit93/making-logs-clickable-in-rails-599eff931...
https://railsdesigner.com/saas/rails-authentication-password-confirm/
https://www.railscarma.com/blog/understanding-ruby-on-rails-controllers-a-developers-guide/
If you work with arrays in Ruby, there’s one method you must have in your toolbox: zip. I just published a quick deep dive on how zip can help you:
Using ViewComponents that know how to refresh themselves via turbo_streams is a powerful pattern to build complex flows with Hotwire
In this episode, we explore how to enhance standard select fields using a JavaScript library together with StimulusJS to create more dynamic and respo...
Ruby’s Singleton module has an undocumented method that lets you reload instances. Here’s how I used it to fix my Rails tests - https://blog.arkency.c...
https://www.algonote.com/entry/activerecord-graph
Capturing browser console.log output in Rails system tests isn’t obvious with Capybara + Cuprite - especially when debugging timing issues that only s...
SF Ruby vibe coding hackathon at Sentry HQ is just 2 weeks away! The $3,000 prize is sponsored by Fly.io, Continue, Evil Martians. Rails is known as t...
https://github.com/igorkasyanchuk/editor_opener - with this gem, you can open a file in an editor directly from the crash page. Also, plan to make a P...
Ever needed to convert an array into a hash without messy loops? Ruby gives us two elegant tools for that: index_by and index_with.
https://www.carmatec.com/blog/rubys-string-split-a-complete-guide-with-examples/
An RSpec spec to verify FactoryBot.build doesn’t interact with the DB: https://lovro-bikic.github.io/factory-bot-build-without-creating/
Rails 8 lets you deprecate Active Record associations, making it easier to phase them out gradually while keeping them around to safely track and remo...