
The Security Fix That Would Have Silently Broken My Feature
Shipping Mermaid diagram support to Forem, the platform behind DEV. A CodeQL alert had an obvious one-line fix that would have quietly destroyed the labels on four of five diagram types.
Insights, tips, and tutorials on Ruby on Rails, web development, and more.

Shipping Mermaid diagram support to Forem, the platform behind DEV. A CodeQL alert had an obvious one-line fix that would have quietly destroyed the labels on four of five diagram types.
Bring the reliability and tracking of database migrations to your one-off scripts with Script Tracker, a Ruby gem that ensures every script is tracked, logged, and managed with confidence.
A quick introduction to using flash messages in Rails for user feedback after actions like create, update, or delete.