Discover the latest articles, tutorials, and insights from the Ruby and Rails ecosystem.
221 articlesThe one where RubyCentral released all the videos from the final Rails Conf, a lot of new products built with Ruby or for Ruby launched and tickets fo...
This is the first post in the series where I'm building my blog in Ruby on Rails. I'll create a new Rails application and we'll walk through some of t...
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/
#760 — July 24, 2025 Read on the Web Ruby Weekly 🤖 Red Candle: Run LLMs Directly from Ruby — An interesting new library that uses some Rust unde...
After three years on Ghost, I'm rebuilding this blog from scratch with Ruby on Rails. In a new series, I'll document the journey of building a product...
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 ....
July 21, 2025 When working with date ranges or numeric intervals in Ruby on Rails, writing clear and idiomatic code can be the difference between “jus...
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.
#759 — July 17, 2025 Read on the Web Ruby Weekly How I Spent Months Solving Ruby's Most Annoying Gem Installation Problem — If you’ve sat waiting for...
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 rapid advancement of AI tools has left many developers worried about the future of their careers. AI is either coming to take your job…
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...
A sitemap lists your site's pages, helping Google crawl it efficiently. It's especially useful for large sites or new sites with zero backlinks. This ...
Creating Custom Enumerable Methods with Ruby Loops
https://pcreux.com/2025/07/09/rails-dashboards-with-sql-and-dry-struct
#758 — July 10, 2025 Read on the Web Ruby Weekly Brut: A New Web Framework for Ruby — With no controllers, no verbs, no resources, and an HTML-first,...
Curious how artificial intelligence and Ruby can work together?
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/
The Rails router's direct method lets you create custom url and path helpers, which is especially useful for polymorphic models and delegated types. T...
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:
July 7, 2025 💻 #Ruby #RubyOnRails #ProgrammingTips #CleanCode Ever needed to combine two arrays element by element in Ruby? There’s a method for that—...
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.
July 4, 2025 Ruby and Rails developers often appreciate how expressive and elegant the language is—especially when it comes to working with collection...
https://www.carmatec.com/blog/rubys-string-split-a-complete-guide-with-examples/