Community-driven Ruby news and articles
169 articlesCode 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...