Community-driven Ruby news and articles
376 articleshttps://www.rubynewbie.org/compelling-reasons-to-learn-ruby-today
Master the N+1 problem in Active Record. Understand when to use joins, includes, or both to optimize Rails database queries and boost performance.
Friendly Attributes helps reduce typing and visual clutter when building record collections. It results in concise, readable, and even joyful code tha...
Rails 8.1 is here, and after digging into the new features, it looks like a solid upgrade 🎯. This release focuses on developer experience and producti...
In this episode, we look at creating a failover mechanism for API requests. This can be a handy trick in situations where you want to add fault tolera...
Dynamic avatars with Ruby are a common feature as we usually want to provide sensible default values without resorting to the same default avatar for ...
Ruby Enumerablea Ruby module, and a big part of what makes Ruby a great programming language.
Are your Ruby projects suddenly failing with the error “certificate verify failed (unable to get certificate CRL)”? That’s due to a breaking change in...
You need gems? Look at ore! I wrote a little piece about this new tool to install your gems. https://greg.molnar.io/blog/ore-bundler-compatible-gem-ma...
One of the most demanding tasks many students face is writing a thesis. The depth of research, clarity of argument, and academic rigor required can be...
For many learners, online classes bring flexibility but also additional challenges such as self-discipline, deadline awareness, and virtual engagement...
In today’s fast-paced education environment, students face multiple demands: managing online classes, completing detailed coursework, and writing rigo...
Forcing static typing into Ruby is like putting a manual transmission in a Tesla. New post on why Sorbet misses the point entirely.
I can’t remember the last time I had this much joy introducing such a simple class. Started with Ruby 3.4 deprecation warnings, ended with a solution ...
https://www.railscarma.com/blog/understanding-present-blank-nil-and-empty-in-ruby/
The ri command already splits the document into well-chunked sections so that coding agents can get the correct context accurately.
https://pearprogramming.blog/ruby/rails/activerecord/2025/10/30/a-matter-of-order/
What are they? What purpose do they serve? Why the hell do I need to know about this Rack thing? https://www.fastruby.io/blog/Middleware-in-Rails.html
The complete Ruby testing tutorial: understand fundamentals by building a test framework, then explore Minitest, RSpec, and Rack::Test with practical ...
https://www.carmatec.com/blog/understanding-rubys-redo-retry-break-and-next/
As developers, there usually comes a time when we have to deal with syntax highlighting. Whether we’re building a blog, a CMS, a documentation site, o...
Hire top iOS app developers to turn your business ideas into successful mobile apps. Our iOS app development agency builds feature-rich, user-friendly...
https://jpcamara.com/2025/10/22/bitmasks-threads-and-interrupts-concurrent.html
Need to switch from Ruby to SQL schema mid Rails project? Here’s how https://danielabaron.me/blog/from-ruby-to-sql-schema/
The ModuleNotFoundError: No module named ‘rest_framework’ is a common issue faced by developers working with Django REST Framework (DRF). This error t...
Because Rails developers don’t want to write JavaScript 👉 https://railsdesigner.com/announcing-attractive-js/
https://rubyelders.com/writings/2025-10-ruby-butler-1.html
Say goodbye to messy service objects. CMDx provides a framework for designing complex business logic with clarity and consistency. https://drexed.gith...
https://www.fastruby.io/blog/rails-event-notify.html
Sometimes you just need to quickly clear the cache when working in your development environment. Full snippet here: https://avohq.io/blog/quickly-clea...
I’m officially launching the Phlex on Rails video course at https://beautifulruby.com/articles/phlex-on-rails-launch. It’s 45 videos split up across 7...
I wanted to see what it would take to implement crypto payments in my app. With Coinbase Commerce, it’s surprisingly easy.
If we have a site that publishes a considerable amount of content, we usually need to generate the assets that go with each piece of content. For exam...
If you’re building a Ruby project without Rails and miss the convenience of bin/rails console, this post walks through how to set up a similar interac...
I reported a few weeks ago some discrimination that my girlfriend has experienced at a tech team, which is similar to discrimination I have experience...
Going through SOC 2 compliance for Humadroid made me realize there’s a gap in Rails security - between basic authentication and actually sleeping at n...
https://railsdesigner.com/introducing-perron/
We’ve compiled suggestions of specific exercises that will expose you to a wide range of examples that embody the most important concepts and prepare ...
Turbo and ActionCable make it easy to build real-time features in our apps. How do they work? This article attempts to demystify some of the inner wor...
Rails 8.1 is really leaning into running our CI pipelines locally. Here’s a bit of a rundown: https://www.fastruby.io/blog/rails-8-1-local-ci.html
Let’s explore how to render a preview of a component in Showcase for Rails: https://blog.appsignal.com/2025/10/15/render-a-component-preview-in-showca...
Lexxy is a new rich text editor for Rails Action Text, built on Meta’s Lexical framework. It adds cool features like easy Markdown support, real-time ...
This summer I made a Phlex on Rails video course outside, off the grid, so I wrote about it at https://beautifulruby.com/articles/portable-workstation...
Helping users navigate through our site with ease helps them reach their desired destination thus improving their experience within our application. B...
https://www.railscarma.com/blog/how-to-raise-and-rescue-exceptions-in-ruby/
Our beloved virtual intern, to whom we left our PRs in the hands of, just got up to speed.
This covers an interaction that happened after responding truthfully to “Dear Rubyists: Shopify Isn’t Your Enemy”. I have covered multiple times the m...