Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Achilles heel of a Rails developer: Upgrading Rails app.

The Achilles heel of a Rails developer: Upgrading Rails app.

These are the slides from the talk I gave at RubyConf, India 2022. The talk is about rails upgrades, best practises, and tools you can use to upgrade rails applications.

rishi jain

August 30, 2022
Tweet

More Decks by rishi jain

Other Decks in Programming

Transcript

  1. Version Jump •One major jump at a time •One minor

    jump at a time Ex: current rails version: 5.2.6 next jump: latest patch of the current rails version i.e 5.2.8 next major jump & latest patch of it i.e 6.0.5 next minor jump & latest patch of it i.e 6.1.6
  2. Dual Boot •What? Ability to run 2 different versions of

    the rails app with 1 common code base
  3. next_rails •Helpers to write conditional code •Command line options to

    run specs and more •Deprecation tracking •Incompatibility report
  4. next_rails Helper methods and command line options <Insert snippet of

    next on command line using next rails c, next rspec>
  5. Rails Upgrade – The Process •Version Jump •Git flow •Dual

    boot •Incompatible gems •Backward compatible changes
  6. Rails Upgrade – The Process •Version Jump •Git flow •Dual

    boot •Incompatible gems •Backward compatible changes •Deprecation Warnings
  7. Rails Upgrade – The Process •Version Jump •Git flow •Dual

    boot •Incompatible gems •Backward compatible changes •Deprecation Warnings •Other changes
  8. Rails Upgrade – The Process •Version Jump •Git flow •Dual

    boot •Incompatible gems •Backward compatible changes •Deprecation Warnings •Other changes •Testing
  9. Rails Upgrade – The Process •Version Jump •Git flow •Dual

    boot •Incompatible gems •Backward compatible changes •Deprecation Warnings •Other changes •Testing •Deployment & Observation