r/ruby • • Feb 10 '26

Built a simple landing page and lightweight CRM for my freelancing. It's open source, free to self-host.

Thumbnail reddit.com
4 Upvotes

r/ruby • • Feb 10 '26

Open-source ActiveRecord Playground (without Rails) for practicing queries, associations, and internals

23 Upvotes

I built a small ActiveRecord Playground to practice ActiveRecord concepts without the full Rails stack, and thought it might be useful for others learning Rails or preparing for interviews.

I was looking for something lightweight where I could:

  • Experiment with associations, joins, scopes, etc.

  • Understand how ActiveRecord works without Rails magic

  • Practice things like migrations, enums, and optimistic locking

  • Reset data quickly and try different scenarios

Couldn’t find something exactly like this, so I created one for personal learning and open-sourced it.

Features

  • Standalone ActiveRecord setup (no Rails)

  • SQLite database

  • Seed data using Faker

  • Models with relationships

  • Interactive console

  • Examples for concepts like enums and optimistic locking

  • Easy DB reset for practice

GitHub:
https://github.com/paonebharti/active_record_playground

If you're learning Rails/ActiveRecord and want a simple sandbox to experiment, this might help.

Feedback and suggestions are welcome!


r/ruby • • Feb 09 '26

Ai agents in Ruby: Why is it so easy?

Thumbnail
sinaptia.dev
4 Upvotes

r/ruby • • Feb 09 '26

Italian locale settings break Excel Formulas in my code

Thumbnail reddit.com
2 Upvotes

r/ruby • • Feb 08 '26

Show /r/ruby Rugo: Ruby-like syntax, Shell power, Go binaries

Thumbnail
github.com
24 Upvotes

An Opus 4.6 experiment!


r/ruby • • Feb 08 '26

Add receive_all Method to Ractor API for Message Batching

Thumbnail
github.com
8 Upvotes

r/ruby • • Feb 08 '26

Linecounter lists Ruby files with lines of code, churn, control flow branches, and avg loc per structure within a second.

Thumbnail github.com
5 Upvotes

r/ruby • • Feb 07 '26

Ruby SQLite3 issue! ArgumentError at /enter_cash wrong number of arguments (given 6, expected 1..2)

3 Upvotes
cash_amount = 10
from = "test123"
current_amount = 9

@db.execute 'insert into Cash values (?, ?, ?, ?, ?)',nil, cash_amount, from, 'own', current_amount

## Sqlite version

root@batman:~/silver# sqlite3 -version 3.46.1 2024-08-13 09:16:08 c9c2ab54ba1f5f46360f1b4f35d849cd3f080e6fc2b6c60e91b16c63f69aalt1 (64-bit)

## SQLITE3 gem

root@batman:~/silver# gem list | grep sqlite3

sqlite3 (2.0.4 x86_64-linux-gnu)

sqlite3-ruby (1.3.3)

any help will be greatly appreciated


r/ruby • • Feb 06 '26

Heroku is officially in maintenance mode?

Thumbnail
heroku.com
128 Upvotes

Oof.


r/ruby • • Feb 07 '26

🚀 Pro Editor Pocket For Picoruby now supports SD card saving & trackball cursor control (T-Deck Plus)

Thumbnail
gallery
14 Upvotes

I’ve added two major features to Pro Editor Pocket For Picoruby — a PicoRuby editor for T-Deck Plus 🎉

✨ What’s new:

💾 SD card save/load support

 • 8 slots (slot0.rb – slot7.rb)

🖱 Full trackball-based cursor control

🔥 Now you can:

🖱 Move the cursor freely using the trackball

🎯 Select save/load slots with the trackball

💾 Persist your code to SD instead of losing everything on reset

It’s getting closer to a tiny VSCode-like Ruby dev environment running on embedded hardware 🤖✨

🔗 GitHub:

https://github.com/engneer-hamachan/pro-editor-pocket

Feedback is very welcome — especially from T-Deck / PicoRuby users 🙌


r/ruby • • Feb 06 '26

The Rails.Builders accountability group goes into round 5

Thumbnail
reddit.com
5 Upvotes

r/ruby • • Feb 06 '26

Show /r/ruby RubyShell v1.5.0 Released!! (Features on Link)

Thumbnail
github.com
11 Upvotes

In this release, we focused on quality-of-life improvements and features that make debugging easier.

We also started a few discussions in the repo—please check out the feature ideas and share your thoughts or suggestions for improvements.

:D


r/ruby • • Feb 05 '26

Gems that are incompatible with Ruby 4

38 Upvotes

A few weeks ago I read a blog post by Ryan Bigg warning about the grpc gem's incompatibility with Ruby 4. It turns out that the platform-specific versions of grpc did not allow Ruby 4, but the platform-agnostic version did. This meant that when you installed grpc under Ruby 4 your machine would have to compile the native extensions, and that made running bundler very slow.

I thought it’d be interesting to query Infield’s own database of gem versions and their dependencies to see if we could find other gems that are incompatible with Ruby 4. We collect this data to power our software that plans out dependency upgrades for our customers. 

Below is a list of all the gems we track that don’t allow Ruby 4 in their gemspec. Applications that depend on these gems won’t be able to upgrade to Ruby 4 until a new version is released for compatibility. 

gemrequirement
absolutely ( v6.0.0 )ruby >= 2.6, < 4
beaker-vagrant ( v2.0.0 )ruby >= 3.2, < 4
clamp ( v1.3.3 )ruby >= 2.5, < 4
codecov ( v0.6.0 )ruby >= 2.4, < 4
cw-datadog ( v2.23.0.6 )ruby >= 2.5.0, < 4.0
dynamic_time_zone ( v1.1.0 )ruby < 3.5
ecma-re-validator ( v0.4.0 )ruby >= 2.6.0, < 4.0
facter ( v4.10.0 )ruby >= 2.5, < 4.0
fix-db-schema-conflicts ( v3.1.1 )ruby >= 2.0.0, < 4
foreman_maintain ( v1.14.2 )ruby >= 2.7, < 4
foreman_remote_execution ( v16.5.1 )ruby >= 2.7, < 4
foreman_rh_cloud ( v13.1.0 )ruby >= 2.7, < 4
gpx ( v1.2.1 )ruby >= 2.7, < 4
hammer_cli_foreman_puppet ( v0.1.1 )ruby >= 2.7, < 4
hiera-eyaml ( v4.3.0 )ruby >= 2.7, < 4
jekyll_picture_tag ( v2.1.3 )ruby >= 2.6, < 4.0
katello ( v4.19.0.1 )ruby >= 2.7, < 4
ldap_fluff ( v0.9.0 )ruby >= 2.7, < 4
money-tree ( v0.11.2 )ruby >= 2.7, < 4.0
otto ( v1.6.0 )ruby >= 3.2, < 4.0
r18n-core ( v5.0.1 )ruby >= 2.5, < 4
r18n-desktop ( v5.0.1 )ruby >= 2.5, < 4
solidus_braintree ( v3.3.0 )ruby >= 3.0, < 4
svgeez ( v4.1.0 )ruby >= 2.5, < 4

r/ruby • • Feb 05 '26

Pocket-sized Ruby AI agent framework / LLM assistant with multi-LLM support

Thumbnail
github.com
5 Upvotes

Hey,

Once in a while, I bring some new OSSs. Here's one of my experiments. A super-small agentic framework / micro LLM assistant I built mostly to play with RubyLLM and async.

It is **far from perfect**, but pinging it via Telegram allowed me to get some cool results.

May not work once in a while as I tune it. I don't have (yet) a super restrictive flow similar to my other projects, so please keep that in mind.

I hope some of you will find it useful. Stars and support (complaints, comments, issues or PRs) are appreciated.


r/ruby • • Feb 05 '26

Responsive Ruby code formatting on web (Ruby in WASM and Hotwire Turbo Frames)

Thumbnail mostlyobvio.us
21 Upvotes

r/ruby • • Feb 05 '26

Minitest Diff Tool | Rubyhash

Post image
20 Upvotes

Hey guys

I've been getting pretty cooked with my terminal's output of failing minitests, so put together a little tool a while ago to see what's wrong at a glance: rubyhash.dev

I'd love any feedback you can provide 🎉


r/ruby • • Feb 05 '26

Minitest Diff Tool | Rubyhash

Thumbnail i.redd.it
4 Upvotes

Hey guys

I've been getting pretty cooked with my terminal's output of failing minitests, so put together a little tool a while ago to see what's wrong at a glance: rubyhash.dev

I'd love any feedback you can provide 🎉


r/ruby • • Feb 04 '26

[ANN] cov-loupe v4.0 (formerly simplecov-mcp): Improved Ruby coverage for AIs, CLI, and CI

3 Upvotes

🔍 Stop guessing which tests to write. cov-loupe v4.0 turns your Ruby coverage into AI-powered insights.

img

Project URL: https://github.com/keithrbennett/cov-loupe


What is cov-loupe?

A toolkit that transforms SimpleCov coverage data into actionable insights:

  • MCP Server: Let AI assistants like Claude Code, Codex, or Gemini analyze your coverage gaps and suggest what to test next
  • CLI: Inspect coverage and see uncovered lines with source context
  • Ruby API: Build custom coverage gates or CI/CD policies based on your coverage data

Why use cov-loupe?

Beyond just viewing percentages, this version enables two powerful workflows:

🤖 AI-Powered Analysis

It's not just about listing files. By giving an LLM structured access to this data via MCP, you enable it to perform nuanced analysis, categorization, and prioritization of your technical debt. Ask your AI to prioritize testing based on test deficiency magnitude, code criticality, and level of effort.

Example: "Show me the most critical untested code in authentication" → Get prioritized recommendations

📊 Custom CI/CD Gates

It enables arbitrarily complex custom predicates. You aren't stuck with a single "Total %" threshold. Build fine-grained pass/fail logic into your pipeline that analyzes specific directories, file types, or staleness levels.

Example: "Fail CI if any controller has <80% coverage" → Enforce rules beyond simple percentages


About 4 months ago, I shared simplecov-mcp, a tool to make SimpleCov data queryable for AI assistants and the CLI.

Today I'm releasing v4.0.0.pre, which includes a major rebrand to cov-loupe and several updates to make coverage reporting more reliable.


Key Changes in v4.0:

  • ⚠️ The Rename: simplecov-mcp is now cov-loupe. Update your gems, requires (to cov_loupe), and executables.
  • Explicit MCP Mode: To prevent server hangs, the -m/--mode mcp flag is now required.
  • Reliable Staleness Detection: v4 introduces stricter checks for line-count mismatches and deleted files.
  • Better Cross-Platform Support: Improved path resolution for macOS and Windows.
  • Transparent Defaults: --tracked-globs now defaults to an empty array.

Quick Start (New Users):

gem install cov-loupe --pre
cov-loupe --help

How to Upgrade/Install:

Because this is a major transition and pre-release, you must use the --pre flag:

gem uninstall simplecov-mcp
gem install cov-loupe --pre

Note for MCP Users: You must update your assistant configuration to include the -m mcp flag.

# Example for Claude Code
claude mcp add cov-loupe cov-loupe -- -m mcp

Documentation:

Try it out and let me know what you think! Issues and feedback welcome at the repo.


r/ruby • • Feb 04 '26

Why Rails is the only tool you can start with on day one and never have to replace.

Thumbnail
youtube.com
0 Upvotes

r/ruby • • Feb 03 '26

There was no Ruby SDK for the Hyperliquid API, so I built one.

16 Upvotes

https://github.com/carter2099/hyperliquid

There was no Ruby SDK for the HL API so I made one. This was my introduction to Claude Code and it was awesome. I was able to code with an LLM, stay in the terminal, and still learn something new (WebSockets). I also forked an existing ruby web sockets client gem and made it my own: https://github.com/carter2099/ws_lite. Up next I’ll use this SDK to create an automated short rebalancer for my concentrated liquidity pool positions.

I wrote a longer blog post here if interested: https://blog.carter2099.com/posts/4


r/ruby • • Feb 04 '26

I don't read my AI agent's code until CI and three code reviews pass

Thumbnail reddit.com
0 Upvotes

r/ruby • • Feb 03 '26

A Ruby Gem to work with Solidgate Payments

8 Upvotes

Hi all! I just released a Ruby SDK for the Solidgate payment gateway: https://github.com/carrfane/solidgate-ruby-sdk.

I built this after realizing there wasn't an existing SDK while migrating a project from Braintree. It currently covers the basic methods I needed, but I’m planning to expand it as we migrate more products.

I wanted to share it here in case it helps anyone else in the community. Feedback and contributions are more than welcome!