RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

How well are the tests covering the code?

Test coverage metrics are one of the tools for evaluating the quality of tests without reading them. Which is kind of relevant in the age of coding agents. So here, a short light intro to 4 different ones: line, branch, path and condition coverage. How well are the tests covering the code?

How I Audit a Legacy Rails Codebase in the First Week

After 50+ engagements I’ve settled on a pretty consistent week-one process for legacy Rails apps. Start with stakeholder interviews (not the code), read three files before running any tools, then use SimpleCov zero-coverage files as a “fear map” for where the real risk lives. The post walks through the full sequence: Gemfile/schema/routes review, security scans, complexity analysis, and how to deliver a triage that actually gets acted on instead of filed away.

CZTop 2.0.0.rc1 — ZeroMQ for Ruby, rewritten

CZTop 2.0.0.rc1 is out. It’s a full rewrite of the CZMQ/ZeroMQ FFI binding — simpler API (plain Array<String> messages), Async fiber support, CURVE encryption, and socket monitoring. 353k msg/s inproc, 49 µs fiber latency. Ships with a ZGuide summary of the 500-page ZeroMQ guide — all the patterns, none of the C. Lots of breaking changes from 1.x — see CHANGES.md. Read more

Loading older posts