ActionVersionPreview
Preview design iterations in Rails
About
You are iterating on a design. Maybe you are redesigning your dashboard. Maybe you are trying three different layouts for a landing page. Maybe Claude just gave you four variations of a pricing table and you need to pick one.
Here is the problem: every time you make a change, you overwrite the last version.
Designing directly in code has become incredibly fast with LLMs. You describe what you want, you get working HTML and CSS back in seconds. But the speed creates a new problem. You generate version one, tweak the prompt, generate version two, and now version one is gone. You want to compare them. You want to send both to your designer or PM and ask which one feels better. You want to open them side by side and squint at the differences.
Instead, you are copying files into _old suffixes, creating git branches for each variation, or pasting markup into a notes app just to preserve your options. This is friction that slows you down right when you should be moving fast.
What you really want is simple: a way to maintain multiple versions of the same view, switch between them instantly, and share any version with a URL.
ActionVersionPreview solves your Rails design version problems.