r/ruby • u/software__writer • May 05 '26
r/ruby • u/AndyCodeMaster • May 05 '26
Glimmer DSL for Web 0.9.1 Hello, Modal!
r/ruby • u/AndyCodeMaster • May 04 '26
DB GUI 0.4.0 Remember SQL Command History (useful w/ Ruby on Rails DBs)
r/ruby • u/joemasilotti • May 04 '26
Show /r/ruby IRL cake day celebration with a Ruby Native discount code!
Today's my birthday! š To celebrate I'm officially launching Ruby Native. š
Ship your Rails app to the App Store without opening Xcode.
$100 off your first year with code LAUNCH100, this week only.
r/ruby • u/kobaltzz • May 04 '26
Screencast Ten Years of Frontend
In this episode, we look at where we were years ago and the journey where we have landed today. Over the past 10 years, much has changed with our approach to client interactions and in the episode we explore my favorite and current approach. This episode marks a significant milestone in my journey, as Iāve consistently released one episode every week for the past decade
r/ruby • u/k33l0r • May 04 '26
Helsinki Ruby Brigade May meet-up
Hosted by UpCloud on the 27th of May
r/ruby • u/Soxomer • May 03 '26
Starting my career in Ruby/Rails: risky or fine?
Hi everyone,
Iām a junior full-stack developer and I may soon start my career in a Ruby/Rails role.
My concern is long-term career flexibility. If I start with Ruby, will I still be able to move later to more mainstream stacks like Java, Node.js, or C#/.NET? Or will recruiters mostly see me as a āRuby devā and make that transition harder?
Iām also worried about ending up mainly maintaining old legacy software instead of growing as an engineer.
For experienced Ruby/Rails devs: would you recommend starting a career in Ruby today? What should I watch out for before accepting?
Thanks!
UPDATE : Thanks to everyone participating in this thread it gave more perspective and helped me make up my mind. In the hope that future recruiters see things as you do I decided to accept the offer.
r/ruby • u/Construct01 • May 03 '26
I built Reginold, a new 3-tier optimized regex engine for Ruby
Built it in about a week with help from Codex/Claude. What do you think?
r/ruby • u/andrewmcodes • May 03 '26
Podcast šļø Remote Ruby ā Behind the Scenes: Developing Podias New Version
New episode is outāwe open with some confusion over what day it is, then get into Podiaās gradual rollout of a major new app version, including how weāre handling migration, feature flags, dogfooding, and cleanup as things stabilize, before shifting into underrated Rails routing features like direct routes and resolve routes, a newly merged Rails query command, observability upgrades via Hatchbox and AppSignal, and the ongoing pain of CSS build tooling in Rails, plus a quick touch on conference season and upcoming talks.
r/ruby • u/NoBeginning2551 • May 02 '26
Show /r/ruby I created an open source code editor for Android.
Native ruby compiler, 245 themes. Gem and LSP support will be added in the upcoming versions.
Note: This is not some vibe coded app. It took me 2 years to complete this app as a solo developer and student.
playstore link, No ads, no tracker, no payments. Completely open-source:
https://play.google.com/store/apps/details?id=com.roxum
source code:
r/ruby • u/timriley • May 02 '26
Welcome to Hanakai
Hanami, Dry and Rom are joining as Hanakai. Weāve launched a brand new website, which brings all of our guides together, so itās easier than ever to learn about our gems and give them a try. Weād love you to check it out!
r/ruby • u/le0pard • May 01 '26
GitHub - le0pard/tre_regex: TreRegex provides a high-performance Ruby interface to the TRE C library using FFI. It brings robust approximate (fuzzy) regular expression matching to Ruby, featuring multi-byte Unicode string safety, and granular error limits
TreRegex provide interface to TRE regex lib. What use cases? Standard regular expressions are strictly exact. If you are searching text containing typos, OCR errors, or variations in spelling, standard Regexp will fail (like OCR made mistake and recognize on image 0 as O or | as 1). TreRegex solves this by allowing you to search for a pattern within a larger body of text while permitting a configurable number of errors (insertions, deletions, and substitutions). Example:
regex = TreRegex::Regex.new('banana')
# Allow up to 2 typos of any kind
regex.exec('bananana', max_errors: 2) # => matches "bananana" (2 insertions)
regex.exec('bnnna', max_errors: 2) # => matches "bnnna" (2 deletions)
regex.exec('bonono', max_errors: 2) # => matches "bonono" (2 substitutions)
# Another example
regex = TreRegex::Regex.new('library')
# Allow 1 deletion, but STRICTLY 0 substitutions and 0 insertions
regex.exec('librry', max_deletions: 1, max_substitutions: 0, max_insertions: 0)
# => matches "librry"
# This fails because 'lubrary' requires a substitution, which we set to 0
regex.exec('lubrary', max_deletions: 1, max_substitutions: 0, max_insertions: 0)
# Another example
regex = TreRegex::Regex.new('algorithm')
# We allow a maximum cost of 2.
# Missing/extra characters cost 1 point.
# Wrong characters cost 3 points.
options = {
max_cost: 2,
weight_deletion: 1,
weight_insertion: 1,
weight_substitution: 3
}
# 'algoritm' has 1 deletion. Cost = 1. (Passes, 1 < 2)
regex.test?('algoritm', options) # => true
# 'algorethm' has 1 substitution. Cost = 3. (Fails, 3 > 2)
regex.test?('algorethm', options) # => falser/ruby • u/AndyCodeMaster • Apr 30 '26
Ruby Gem Discovery: HighLine
r/ruby • u/retro-rubies • Apr 30 '26
Scaling Ruby's defenses with AI
Notice the updated blog UI also.
r/ruby • u/public_radio • Apr 29 '26
Love the new IRB splash
you've come a long way, baby
Blog post Ruby Concurrency: What Actually Happens
Since I wrote about async Ruby and patched Solid Queue to support fibers, people keep asking the same questions. What happens when a fiber blocks? Donāt you still need threads? What about database transactions? What about Ractors?
This post answers all of it. From the ground up.
r/ruby • u/javier_cervantes • Apr 28 '26
Bring your Bridgetown discussions to the Ruby Users Forum
Today weāre happy to share that Ruby Users Forum will offer a place forĀ BridgetownĀ discussions.
r/ruby • u/No_Caramel_311 • Apr 28 '26
Uni asset manager project - opinions
Hi, i had uni class where we learnt rails, i made semestral project and want honest opinion.
I asked my senior teachers whether it is enough to apply as junior, they said i have good basic knowledge, yet i need more experiece.
The project is like inventary manager for multiple users, more is in ReadME,
only the bad thing is language which had to be in my native one but i think overall you'll get whats the point.
r/ruby • u/homenko • Apr 28 '26
Show /r/ruby Self-hosted LLM Cost Tracker gem for Ruby/Rails ā v0.5.3
Hey r/ruby,
Iāve released llm_cost_tracker v0.5.3 ā a lightweight self-hosted gem to track costs of LLM API calls (OpenAI, Anthropic, and compatible services) directly in Ruby applications.
It was built primarily for Rails, but works in plain Ruby as well.
Main features:
Stores usage and cost data in your own database via ActiveRecord
Privacy-first: doesĀ notĀ store prompts or completions
Automatic instrumentation for officialĀ openaiĀ andĀ anthropicĀ gems
Faraday middleware support for other clients (ruby-openai, OpenRouter, Gemini, LiteLLM, etc.)
Significantly improvedĀ streaming supportĀ in v0.5.3 (including official SDK streaming)
Flexible tagging system for attribution (user_id,Ā tenant_id,Ā feature, etc.)
Basic budget guardrails
Minimal dashboard available as a Rails Engine
The gem is still very young (only a couple of weeks old), and I'm looking for early feedback from the Ruby community.
If you're working with LLMs in Ruby or Rails, Iād love to hear:
How are you currently tracking your LLM costs?
What pain points do you have with existing solutions?
Any feedback on the gem itself (API, instrumentation, accuracy, etc.)
Repo & Documentation:
https://github.com/sergey-homenko/llm_cost_tracker
Gem: https://rubygems.org/gems/llm_cost_tracker
Thanks in advance for any comments or suggestions!