How to plan a Rails upgrade before touching code
何时使用: You're on Rails 6.1 and need to get to 7.2. You want a plan, not a prayer.
步骤
-
Audit current stateAudit this Rails app: current version, Ruby version, gems, deprecation warnings from a test run.✓ 已复制→ Baseline report
-
Build the pathPlan the upgrade to Rails 7.2. Go version-by-version (6.1 → 7.0 → 7.1 → 7.2), each with milestone criteria.✓ 已复制→ Multi-stage plan
-
Identify blockersWhich gems don't have a 7.2-compatible version? Proposals for each (upgrade/replace/fork).✓ 已复制→ Per-gem blocker list
结果: A realistic upgrade plan with staged milestones.
注意事项
- Jumping two major versions at once — Skill enforces one minor/major at a time — don't override