📝
article
rubyflow.com
·
October 31, 2026
ruby2html 2.1.0 — write views in pure Ruby, render HTML faster than ERB and Phlex
ruby2html lets you write views as a plain Ruby block DSL — div(class: ‘card’) { h1 @title } — and renders clean, escaped HTML with a C extension doing the hot work (SIMD escaping, tag rendering, attribute serialization). No runtime dependencies. Works standalone, as Rails .html.rb templates, inside ERB, in ViewComponent, or as lightweight Ruby2html::Component classes.
Read on rubyflow.com →