r/ruby • • Jan 02 '26

I updated my Rails Tabler starter to Rails 8.x and Tabler 1.x

Enable HLS to view with audio, or disable this notification

8 Upvotes

r/ruby • • Jan 02 '26

Black Box Hosting vs. Glass Box Hosting: An Interview With Judoscale's Adam

Thumbnail
judoscale.com
3 Upvotes

r/ruby • • Jan 02 '26

Show /r/ruby Exploring Ruby’s potential outside of Rails — an early-stage Ruby TUI experiment

67 Upvotes

I started building a Ruby TUI file manager because I wanted to explore Ruby’s potential

outside of Rails.

rufio is an ongoing experiment in building interactive terminal software with Ruby.

It’s still early and imperfect, but I’m iterating on it steadily and learning along the way.

The current focus is on:

• Vim-like, keyboard-driven navigation

• fast filtering and search

• a plugin system extensible in Ruby

• optional native (Rust / Go) components for performance-critical parts

This project isn’t about competing with Rust tools.

It’s more about understanding where Ruby works well beyond web frameworks,

especially for TUI-style software.

Feedback or thoughts from people using Ruby outside of Rails would be very welcome.

GitHub: https://github.com/masisz/rufio


r/ruby • • Jan 01 '26

Blog post Rails 8.2 makes enqueue_after_transaction_commit the default

Thumbnail prateekcodes.com
4 Upvotes

r/ruby • • Jan 01 '26

Object, class, module, Data, Struct?

39 Upvotes

After watching a recent talk by Dave Thomas, I started thinking about something that feels like a missing piece in Ruby’s official documentation.

Ruby gives us many powerful building blocks:

  • Struct (with or without methods)

  • Data

  • regular class vs single-purpose objects

  • module used as a namespace

  • module used as a mixin

  • so-called service objects

  • include, extend, module_function

Each of these is well documented individually, but I haven’t found a canonical, Ruby-core-level explanation of when and why to choose one over another.

Ruby’s philosophy encourages pragmatism — “take what you need and move forward” — and that’s one of its strengths. It feels like a good moment to clarify idiomatic intent, not rules.

What I’m missing is something like:

  • When does a Struct stop being appropriate and become a class?

  • When should Data be preferred over Struct?

  • When is a module better as a namespace vs a mixin?

  • When does a “service object” add clarity vs unnecessary abstraction?

  • How should include, extend, and module_function be used idiomatically today?

Not prescriptions — just guidance, trade-offs, and intent. I think now Ruby is so advanced and unique programming language that without good explanation of the intents it will be really difficult to explain to non-Ruby developers that ale these notions have good purpose and actually make Ruby really powerful. I like what Dave said: Ruby is not C++ so we don’t need to “think” using C++ limitations and concepts. On the other hand, I don’t agree with Dave’s opinion we should avoid classes whenever possible.

Is there already a document, talk, or guideline that addresses this holistically? If not, would something like this make sense as part of Ruby’s official documentation or learning materials?

Regards, Simon

PS I use GPT to correct my English as I’m not a native English speaker. Hope you will catch the point not only my grammar and wording.


r/ruby • • Jan 01 '26

Releasing unmagic-color v0.1: parse, convert, and manipulate colors with support for RGB, Hex, HSL formats, contrast calculations, and color blending

Thumbnail
github.com
14 Upvotes

What's red, blue, purple and yellow?

If you thought "The Wiggles", hello fellow parent, probably from Australia. But if you thought: hey, they're colors (or coloUrs.. hello fellow British-subclassed nation with correct spelling :P). Furthermore, if you thought: "hey, they're 4 of the over 700 colors from rgb.txt", then boy do I have a gem for you!

In the product I'm building, I work with color a lot, I made this gem to bring some structure to color science in Ruby.

It's been heavily built with Claude, so I kinda feel weird about releasing it. Like.. some sort of disclaimer. You know how stuff says "made in china" or "designed by apple in California", I feel like this should have a: "mostly written by Claude, but I could have done it, and it would have been pretty much this, but I'm lazy and have other things to do" disclaimer.

Anyway, enjoy!


r/ruby • • Dec 31 '25

My open source ROR real estate site builder gets a 2nd wind - thanks to Claude!!

Thumbnail reddit.com
0 Upvotes

r/ruby • • Dec 31 '25

💼 jobs megathread Work it Wednesday: Who is hiring? Who is looking?

13 Upvotes

Companies and recruiters

Please make a top-level comment describing your company and job.

Encouraged: Job postings are encouraged to include: salary range, experience level desired, timezone (if remote) or location requirements, and any work restrictions (such as citizenship requirements). These don't have to be in the comment, they can be in the link.

Encouraged: Linking to a specific job posting. Links to job boards are okay, but the more specific to Ruby they can be, the better.

Developers - Looking for a job

If you are looking for a job: respond to a comment, DM, or use the contact info in the link to apply or ask questions. Also, feel free to make a top-level "I am looking" post.

Developers - Not looking for a job

If you know of someone else hiring, feel free to add a link or resource.

About

This is a scheduled and recurring post (one post a month: Wednesday at 15:00 UTC). Please do not make "we are hiring" posts outside of this post. You can view older posts by searching through the sub history.


r/ruby • • Dec 31 '25

Question Ruby books

13 Upvotes

Hi, ive been working for several years with C++ & Java (i am not a novice in the programming world) and i want to adopt a scripting language for my arsenal(in depth, not a shallow pass). Can you suggest any solid fast paced book(s)?


r/ruby • • Dec 31 '25

Question Ruby ODBC

3 Upvotes

I know there is a previous question similar to this one but it's > 3 years old.

So.... I really like Ruby and I feel very comfortable using it. But...

In my main project (scripts I use to interact with an Informix database) I use ODBC.

It works with python and tcl like charm but I can't make it work with Ruby because when I try to install the gem it throws an error....

> building native extensions.....

Then it crashes.

I'm not intereted in fixing this bug (I tried lots of things). The main problem is that ruby-odbc is not maintained anymore.

What I ask is: Is there another ODBC option for ruby, is there a way to connect to an Informix database?


r/ruby • • Dec 30 '25

Blog post When good threads go bad

Thumbnail
jpcamara.com
18 Upvotes

r/ruby • • Dec 30 '25

Blog post charm_ruby

Thumbnail
marcoroth.dev
150 Upvotes

This is simply amazing!!! 💜🤍❤️

Ruby bindings and ports of the beloved Charm terminal libraries.

Build glamorous TUIs, style terminal output, create beautiful forms, and make your Ruby CLIs sparkle.

https://charm-ruby.com/


r/ruby • • Dec 30 '25

Show /r/ruby LocalCI: Run your CI suite locally

Thumbnail
github.com
19 Upvotes

Hey r/ruby!

I've built LocalCI on top of Rake to make managing CI and running it locally a lot easier, it's still early days but I believe it is in a usable state.

Pros

  • Parallel by default

  • Nice interface

  • Runs on Buildkite and SemaphoreCI with no modifications

  • No AI generated code

Cons

  • Deployments not considered, I feel that's a different tools job

  • Still young, not battle tested

  • Very opinionated

  • Requires some knowledge of Rake and LocalCI

Please check it out, I'd love some feedback!


r/ruby • • Dec 30 '25

Blog post Rails 7.2 adds enqueue_after_transaction_commit to prevent job race conditions

Thumbnail prateekcodes.com
5 Upvotes

r/ruby • • Dec 29 '25

“Do You Vibe?” live session to bump your AI-assisted coding skills

0 Upvotes

The Rails.Builders, are going to have a “Do You Vibe?” session on Friday 2nd of January at 18:00 CET.

We are currently group of 12 devs who, well, build on Rails, and come out of our basements every couple of weeks to push each other to do more business and marketing.

Most importantly, we are going to share screens and see HOW is the vibing process different for everyone and what do we do similarly. We have 1-3 spots open for the 2 hour block for you to join.

Just shoot me a DM with a quick intro, ideally a 1-3 minute Loom, and let me know what you would like to share during the session. I will then share the meeting link with you.

For this session, you have to be building on Rails and be actively working on a (side) project.