Latest Ruby News

Stay updated with the Ruby community

Discover the latest articles, tutorials, and insights from the Ruby and Rails ecosystem.

1549 articles

https://railsdesigner.com/saas/rails-authentication-password-confirm/

about 1 year ago Read More

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...

about 1 year ago Read More

https://www.railscarma.com/blog/understanding-ruby-on-rails-controllers-a-developers-guide/

about 1 year ago Read More

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...

about 1 year ago Read More

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:

about 1 year ago Read More

July 7, 2025 💻 #Ruby #RubyOnRails #ProgrammingTips #CleanCode Ever needed to combine two arrays element by element in Ruby? There’s a method for that—...

about 1 year ago Read More

Using ViewComponents that know how to refresh themselves via turbo_streams is a powerful pattern to build complex flows with Hotwire

about 1 year ago Read More

In this episode, we explore how to enhance standard select fields using a JavaScript library together with StimulusJS to create more dynamic and respo...

about 1 year ago Read More

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...

about 1 year ago Read More

Capturing browser console.log output in Rails system tests isn’t obvious with Capybara + Cuprite - especially when debugging timing issues that only s...

about 1 year ago Read More

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...

about 1 year ago Read More

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...

about 1 year ago Read More

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.

about 1 year ago Read More

July 4, 2025 Ruby and Rails developers often appreciate how expressive and elegant the language is—especially when it comes to working with collection...

about 1 year ago Read More

https://www.carmatec.com/blog/rubys-string-split-a-complete-guide-with-examples/

about 1 year ago Read More

An RSpec spec to verify FactoryBot.build doesn’t interact with the DB: https://lovro-bikic.github.io/factory-bot-build-without-creating/

about 1 year ago Read More

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...

about 1 year ago Read More

July 3, 2025 “He who seeks, finds.” — Popular Spanish Proverb In the domain of computer science and software engineering, the act of searching is more...

about 1 year ago Read More

#​757 — July 3, 2025 Read on the Web Ruby Weekly Omarchy: DHH's New Opinionated Arch/Hyprland Setup — DHH says he feels the same way about Linux now a...

about 1 year ago Read More

July 2, 2025 When building APIs or web applications using Ruby on Rails, one often encounters the challenge of managing deeply nested resources. While...

about 1 year ago Read More

July 1, 2025 As developers, we often default to relational databases like PostgreSQL or MySQL when building Rails applications. But what happens when ...

about 1 year ago Read More

June 30, 2025 As developers, we often turn to external tools or system commands to gather environment and system information. But did you know that Ru...

about 1 year ago Read More

The one where Rails Foundation launches a new podcast, where Josef launched Kamal Devops and where Obie launches Claude On Rails gem and DHH announces...

about 1 year ago Read More

June 27, 2025 Reactive programming has emerged as a powerful paradigm for handling dynamic data flows and complex event-driven applications. But while...

about 1 year ago Read More

June 26, 2025 Have you ever wondered how Ruby interprets characters behind the scenes? During some recent coding exploration, I dove deep into .chr an...

about 1 year ago Read More

#​756 — June 26, 2025 Read on the Web Ruby Weekly On Rails: A New Podcast from The Rails Foundation — The Rails Foundation wanted to launch a new podc...

about 1 year ago Read More

June 25, 2025 As developers, managing project dependencies can sometimes feel overwhelming — especially when it comes to ensuring they’re secure and u...

about 1 year ago Read More

The one where Marco Roth announced the Herb Language Server and where we discuss again about service objects

about 1 year ago Read More

I started as a sceptic, but now I'm a convert and a heavy user of AI for everyday programming, and wanted to write down some common patterns and promp...

about 1 year ago Read More

I started as a sceptic, but now I'm a convert and a heavy user of AI for everyday programming, and wanted to write down some common patterns and promp...

about 1 year ago Read More

#​755 — June 19, 2025 Read on the Web Ruby Weekly As part of Gift Egwuenu's latest RubyGems monthly update post, some Ruby version and gem download st...

about 1 year ago Read More

This post shows how to inspect the sequence of before, after, and around callbacks in Rails controllers by adding a small initializer. Useful for unde...

about 1 year ago Read More

This post shows how to inspect the sequence of before, after, and around callbacks in Rails controllers by adding a small initializer. Useful for unde...

about 1 year ago Read More

The one where JRuby 9.4.13.0 gets released, Jose Valim will be at SF Ruby Meetup, Jason Sweet discusses Service Objects, and jemalloc development come...

about 1 year ago Read More

After three years of freelancing and over a year of running my own software studio, here're some scattered thoughts on freelancing as a software devel...

about 1 year ago Read More

After three years of freelancing and over a year of running my own software studio, here're some scattered thoughts on freelancing as a software devel...

about 1 year ago Read More

You can safely extract options hash from the end of an argument list using the extract_options! method in Rails. Not only it simplifies the method def...

about 1 year ago Read More

The one where Hanami starts a funding campaign, where Ruby committers discuss renaming Namespace and where Zeitwerk reached 500 million downloads

about 1 year ago Read More

In this post, we’ll explore how redirects work in Rails: what they are, how to redirect manually, and how the redirect_to method simplifies things. We...

about 1 year ago Read More

In this post, we’ll explore how redirects work in Rails: what they are, how to redirect manually, and how the redirect_to method simplifies things. We...

about 1 year ago Read More

In this post, we'll learn how Rails' render method works and how to use it effectively. From rendering templates, partials, and inline content to JSON...

about 1 year ago Read More

In this post, we'll learn how Rails' render method works and how to use it effectively. From rendering templates, partials, and inline content to JSON...

about 1 year ago Read More

The one where Active Job Continuations by Donal McBreen landed in Rails, RailsConf 2025 gets DHH for a fireside chat, and Nate Berkopec highlighted Ru...

about 1 year ago Read More

Last week, I used AI to finally learn the basics of QuickBooks and handle my company’s bookkeeping. AI didn’t just help me finish a chore, it taught m...

over 1 year ago Read More

Last week, I used AI to finally learn the basics of QuickBooks and handle my company’s bookkeeping. AI didn’t just help me finish a chore, it taught m...

over 1 year ago Read More

Announcing a new newsletter where I write about topics beyond Ruby on Rails: running a software services business, freelancing, positioning and market...

over 1 year ago Read More

The one where Jorge Manrubia teased about a new code editor in Rails, where EuRuKo announced the first speakers and where Sam Ruby launched their book...

over 1 year ago Read More

Then one where namespaces on read and ZJIT were merged into Ruby and where Obie Fernandez launched a new framework for AI workflows in Ruby.

over 1 year ago Read More

If your Rails app deals with large files, let a reverse proxy like Nginx or Thruster serve them. In this post, we'll learn how X-Accel-Redirect (or X-...

over 1 year ago Read More
Railsrome

© 2024 Your Company, Inc. All rights reserved.