Discover the latest articles, tutorials, and insights from the Ruby and Rails ecosystem.
221 articlesAn 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...
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...
#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...
July 2, 2025 When building APIs or web applications using Ruby on Rails, one often encounters the challenge of managing deeply nested resources. While...
July 1, 2025 As developers, we often default to relational databases like PostgreSQL or MySQL when building Rails applications. But what happens when ...
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...
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...
June 27, 2025 Reactive programming has emerged as a powerful paradigm for handling dynamic data flows and complex event-driven applications. But while...
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...
#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...
June 25, 2025 As developers, managing project dependencies can sometimes feel overwhelming — especially when it comes to ensuring they’re secure and u...
The one where Marco Roth announced the Herb Language Server and where we discuss again about service objects
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...
#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...
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...
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...
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...
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...
The one where Hanami starts a funding campaign, where Ruby committers discuss renaming Namespace and where Zeitwerk reached 500 million downloads
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...
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...
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...
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...
Announcing a new newsletter where I write about topics beyond Ruby on Rails: running a software services business, freelancing, positioning and market...
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...
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.
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-...
The one where EuRuKo has announced that their tickets are on sale, Rails World tickets will go on sale on the 13th of May, and Joel Drapper invites us...
The one where you can read about why Marc Köhlbrugge chose Ruby, where Adam Fortuna shares how they returned to Rails, and where Ruby Central discuss...
In the world of Rails development, integrating large language models (LLMs) like OpenAI's GPT has become increasingly common. One challenge…
The one where YCombinator showcases Ruby code in their Vibe Coding video, mruby 3.4.0 released, Hotwire Native 1.2 is announced, and where Pragmatic P...
Keeping a reliable history of changes is essential for our users. They need to know when a record was updated, who made the change, and why…
The one with several Ruby releases: 3.4.3, 3.5.0-preview1, and JRuby 10, where Marco Roth announces herb tools and Matz suggests that Ruby 4.0 may be ...
In this post, we'll learn how to use a SQL subquery in a Rails app to eliminate N+1 queries and improve performance. We'll profile a real-world exampl...
The one where Ruby 3.3.8 is released, where Charles Nutter shares about what's new in JRuby 10 and where we find out that Ex-CEO and Buildkite’s cofou...
The one where Marco Roth launched RubyEvents website and mobile app and where the Ruby and AI scene is heating up with more gems
As your application grows, so do your database tables. If you keep fetching all columns, those extra fields, especially large text or JSON blobs can q...
This post shows how you can get a better understanding of your Ruby on Rails application performance with the Rails Debugbar, a profiling tool inspire...
The one where Ruby 3.1.7 and 3.2.8 are released, Joe Masilotti published Bridge components for Hotwire Native, and two new projects about building or ...
The one where TruffleRuby 24.2 is released, JRuby 10 is getting close, a Rails MCP server is introduced, and where Stan Lo shows a Ruby MCP server pow...
In 2012, GitHub was compromised by Mass Assignment vulnerability. A GitHub user used mass assignment that gave him administrator privileges to none ot...
The one where Sidekiq 8 is launched, where Kasper Timm Hansen is announcing a new workshop about Action View and where Adam McCrea launches PaaS Prici...
Friendly.rb launches Early Bird tickets, Rails World opens the CFP, and RailsCamp offers scholarships.
The one where Andy Croll launches Ruby-themed t-shirts, Matt Swanson shares their GOAT pattern for Hotwire apps and you can learn about Array#bsearch ...
How many times have you heard or read statements like these in tech discussions? "Everything needs to be a single-page app these days…
The one where Stephen Margheim launched a new course High Leverage Rails and Andrew Culver launched Honyaku to translate Rails apps automatically
The one with Ruby 3.4.2 release and a new JRuby release, while Aaron Patterson article was on front page of Hacker News
When you first discover Ruby on Rails, some things might strike you right away: namely the large number of enumerable methods and the blocks…
OK, maybe "love" is a bit strong. But the Aha! engineering team has a shocking confession: We embrace bugs in our software. Our CTO, Dr…