r/ruby • u/amirrajan • Dec 28 '21
r/ruby • u/skyksandr • Oct 18 '18
Upcase is now free!
Just get an email. Check it out https://robots.thoughtbot.com/announcing-upcase-is-free
There are a lot of interesting stuff!
EDIT: Don't forget to fork or clone the source code of platform - it's one of the best RoR codebase I've ever seen!
r/ruby • u/jrochkind • Sep 28 '18
Upgrading GitHub from Rails 3.2 to 5.2
r/ruby • u/gurgeous • Mar 11 '26
tennis - stylish CSV tables in your terminal
Hi all. I made a standalone version of my popular table_tennis gem. The cli app is written in Zig but it's roughly the same as the rubygem so I thought you guys might be interested.
https://github.com/gurgeous/tennis
First Zig project, pretty fun. Nothing like Ruby, but the compiler is shockingly fast and it creates itsy bitsy binaries. Tennis is around 150k for a release build. A similar project in golang clocked in around 10mb. On the other hand, Zig is so new that it's missing a ton of stuff we take for granted over in Ruby land. Example - a working CSV library! Yikes
(note - this is not ai slop and I never use ai on reddit)
r/ruby • u/pdabrowski • Jan 07 '25
Useful things you can do with Rails console
impactahead.comr/ruby • u/[deleted] • Jul 01 '22
Why is no one promoting ruby?
I'm quite curious about this.
I got into the world of Ruby about a month ago (I've been a programming hobbyist since 2018, started taking programming seriously around 2020) and coding in it makes me happy. Matz achieved his goal: A language that makes developers happy.
To say I fell in love with Ruby is an understatement,
The thing I don't get is why isn't the language being promoted everywhere? This gem of a language shouldn't just slowly fade into obscurity.
I'm surprised it isn't the defacto language beginner programmers use to learn to code. What gives?
TruffleRuby is now the first implementation besides CRuby to pass all of the 2180 #RubyGems' tests, no exclusions!
https://github.com/rubygems/rubygems/pull/2797#issuecomment-626150446
Hopefully we are much much closer to running Rails.
r/ruby • u/a_ermolaev • Jan 28 '25
Ruby Falcon is 2x faster than asynchronous Python, as fast as Node.js, and slightly slower than Go. Moreover, the Ruby code doesn’t include async/await spam.
r/ruby • u/bluenxhi • Oct 08 '21
Multiple radio buttons in ruby on rails - Sarah Eggleston
r/ruby • u/amicloud • Jan 21 '18
Holy shit I love Ruby
I've been mostly working on projects written in Java, C#, and Python...
But I got the chance to update one of my Ruby projects yesterday and I only then realized just how much I love using Ruby. It's just a wonderful language, it really is. It's not often that I look at code that I wrote and think to myself "That's some beautiful code", but with Ruby it is.
r/ruby • u/kerrizor • Sep 08 '26
I built a gem that monetizes your application logs by inserting host-read sponsor placements between your log lines
Your logs could look like this. Right now you're leaving the money on the table:

(Note the contextual targeting: a payments ad after the payment line, a database-pooling banner right after the connection timeout. The exchange reads intent.)
For decades, application logs have been a pure cost center - written once, grepped never, archived into oblivion. SponsoredLogs turns that stream into a high-margin, programmatic revenue channel.
Your services emit billions of log lines a day. Each one is a premium, brand-safe, above-the-fold impression viewed by your most engaged audience: your own engineers, at their moment of peak attention (an incident). We are not selling ads. We are activating latent infrastructure equity.
It's opt-in. Add the gem, call `SponsoredLogs.sponsor!`, and roughly 1 in 1000 log calls is followed by a host-read sponsor placement drawn from the top podcast advertisers.
Fully configurable: weighted or CPM-based selection, campaign flighting (start/end dates), lifetime impression caps, and a pluggable impression ledger (in-memory, Redis, or ActiveRecord). There's a mountable Rails dashboard (the Command Center) that reports spend, delivery, and per-advertiser rollups.
Also: box-drawn multi-line **banner** ad units in three impact tiers, self-sponsoring house ads that fill remnant inventory so no impression goes to waste, and gilded `[AD]` tags rendered in 256-color gold on a live terminal (byte-identical plain when piped or logged).
Here's the part the market isn't ready for: the fastest-growing consumer of application logs on Earth is no longer human. It's AI coding agents. Superhuman scale, 100% viewability, they never scroll away. We're not just B2B. We're A2A.
It's a real, working gem: full test suite, CI across Ruby 3.2-4.0, RuboCop clean. Every line you log is a line you're leaving on the table.
Repo: https://github.com/sponsoredlogs/sponsored_logs
Site: https://monetizetheexhaust.dev
r/ruby • u/pabloh • Dec 15 '25
Ruby 4.0 Allocation speed up
Aaron just posted this benchmarks on Bluesky. Apparently object allocations are much faster in Ruby 4.0.
Can anyone explain what new optimizations are taking place here to allow this speed up?
r/ruby • u/[deleted] • Sep 14 '25
Ruby ecosystem is not only Rails and webapps made using it.
I like Rails. But I love Ruby more.
I hear a constant chatter that Ruby is just Rails, nothing beyond. Well, may be I am unaware and don't know how to answer this well so I switch over to this forum to find an answer, seeking a reality.
I know of Falcon, Dry-rb, Hanami as a few superb projects, but excuse my little knowledge here. I want to know more about other popular Ruby projects as well, which people love to use in their workflows and are not strictly tied to Rails.
Please comment down your favourites below.
Disclaimer: I am not advocating against Rails at any cost, I am in exploration of project beyond the boundary of Rails.
r/ruby • u/galtzo • Nov 11 '25
In Praise of dhh
okayfail.comThis is an excellent bit of writing.
r/ruby • u/VastDesign9517 • Jul 29 '25
From Go To Ruby(thanks DHH)
As the title suggest
For a while now I have been singing the praises of GO. GO HTMX Templ, this is what peak development must be.
For context I am a solo developer at a large manufacturing facility. I work through alot of domains. ETL, Oracle, Web, Excel automation, Power Bi pipelining.
I tried Python and I liked portions of it. But it felt magical and it felt very crammed together poorly thought about.
I am a big fan of Primeagen and hearing DHH talk about developer happiness. I wanted to experience what that meant.
Oh my.. I didnt know. I didn't know what it meant to be able to express yourself what it meant to be concise or expressive based on what a program needs.
What I love about Go. If 5 engineers sat down in a room and solved the same problem. It would be pretty close.
But in Ruby I can be myself. You want composition you have it. You want inheritance well there it is. You want a lamda? Have it. Using a array with %w literally in awe struck i couldn't believe what I was seeing i could believe how good it felt to type.
I am sorry for gushing but I've been in the SLUMS lately with programming. Being alone in a non technical company is exhausting. My next project portion will be in rails. Because by god I mean this I hate Web dev but I loved backend engineering. I could use some developer happiness.
I am still on the fence about metaprogramming. When I built projects I try to map out the entire domain and make sure have good enums and good api design. Metaprogramming takes away from this but it also makes being able to move fast.
Thank you DHH for your talks you changed my view of scripting languages.
Question to you guys. How do you guys like ruby mine are you guys using vs code? Neovim?
Thank you,
**edit Also, you guys seem like a wonderful community of people.
r/ruby • u/public_radio • Apr 29 '26
Love the new IRB splash
you've come a long way, baby
r/ruby • u/obviousoctopus • Nov 08 '12
101 Things You Didn't Know You Could Do (with Ruby 1.9.3) by James Edward Gray II - My head is about to explode
r/ruby • u/software__writer • Mar 25 '25
Second Edition of Eloquent Ruby
Russ Olsen, the author of Eloquent Ruby just announced that he has started work on the second edition of the book. This is one of my all-time favorite books on Ruby and I felt like I really learned how to program idiomatic Ruby after reading it. Looking forward to the second edition.
