
I got tired of looking up `rails new` flags, so I built a wizard for it
Every time I start a new Rails project, the same thing happens. I open the terminal, type rails new , and then... pause. What was the flag for PostgreSQL? Is it --skip-test or --skip-tests ? Do I want Propshaft or Sprockets? What about Solid Queue — is that a flag now? So I open rails new --help , scroll through a wall of options, and piece together a command I'll forget by next week. After doing this too many times, I built create-rails-app — an interactive CLI wizard that walks you through every rails new option one at a time. What it does Instead of memorizing flags, you answer simple questions: [01/31] API only application? (no) › Yes / No [03/31] Database (postgresql) › sqlite3 / postgresql / mysql / trilogy ... [04/31] JavaScript approach (importmap) › importmap / bun / esbuild / webpack ... Each question shows your last-used choice as the default, so repeat projects take seconds. At the end, you see the full rails new command — review it, then run it or go back and tweak your ch
Continue reading on Dev.to
Opens in a new tab
