rails-upgrade-3-to-4
Installation
SKILL.md
Rails 3 → 4 Upgrade
Legacy upgrade. Rails 3.2 is past EOL (Rails 3 LTS exists but is paid). The 3.2 → 4.0 hop is API-breaking; budget for a real project, not a weekend.
The opinion
Dual-boot with
next_rails. Hop 3.2 → 4.0 → 4.1 → 4.2. Ruby 2.0+ required for 4.0; Ruby 2.2.2+ for 4.2. Use theprotected_attributesgem as a temporary bridge fromattr_accessibleto strong parameters.
The hop sequence
3.2 → 4.0 → 4.1 → 4.2