r/ruby 20h ago

HQTUI — Terminal UI for Ruby

Thumbnail
hqtui.com
Upvotes

r/ruby 4h ago

I built AddAuth to add magic links and passkeys to Rails 8’s authentication

Thumbnail
Upvotes

r/ruby 11h ago

My first "bigger" project

Upvotes

Hello guys, as university student that wants to apply to junior Rails dev, i made project that even you can try.

It works as stock broker portfolio agregator (Trading212 and Etoro), that takes snapshots of current account balance, exchange it to live EUR rate, and sums them into nice looking chart.

Its all happening in background job so you dont need to worry about that.

Then it notifies you each day about the difference summary, or if your API keys are wrong.

i deployed it on my VPS with kamal (easier than i thought) so you can try that yourself (you can set your API keys to read-only, but i respect that prolly noone will put it there).

Also you can try that yourself as i already set it up with Docker for you.

Deployed: https://railsfinancemanager.online/

Github: https://github.com/TheP4trik-tech/Portfolio-Manager

I am open to any critism or ideas :)


r/ruby 11h ago

Grape 4.0.0 is out — ~80% faster than 3.3.5, plus HTTP QUERY (RFC 10008) support

Upvotes

I maintain Grape, the Ruby framework for REST-like APIs. 4.0.0 shipped today and it's the fastest yet.

Ruby 4.0.6, single-threaded Benchmark.ips :

Version No JIT YJIT ZJIT
3.3.5 68,050 i/s 133,833 i/s 88,472 i/s
4.0.0 122,414 i/s 228,069 i/s 153,183 i/s

+80% without a JIT, +70% with YJIT. It's a micro-benchmark — one tiny JSON endpoint, in-process, no database — so it measures framework overhead and nothing else. Harness is in benchmark/version_throughput if you want to run it.

The biggest single win: helpers were being included into a fresh singleton class on every request, so every request started with a cold method cache. That now happens once, at compile time. TLDR: lot of improvements in terms of memory allocations.

Also new: QUERY (RFC 10008) — safe and idempotent like GET, but the query rides in the request content.

It's a major, so deprecated surface from 3.2 and 3.3 is gone.

Happy to answer questions.


r/ruby 3h ago

Surviving Black Friday: 329 billion requests with Falcon

Thumbnail
youtube.com
Upvotes

r/ruby 5h ago

Show /r/ruby DragonRuby Game Toolkit - The Keeper + Shaders (source code in the comments)

Enable HLS to view with audio, or disable this notification

Upvotes