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

ATLRUG - Upgrading Rails (Isn't So Bad)

ATLRUG - Upgrading Rails (Isn't So Bad)

Full-length version of my lightning talk from Rails Girls 6/29/16. Given on 7/13/16 at the Atlanta Ruby Users Group.

Upgrading Rails gets a bad rap, but it doesn't have to be so daunting if we listen to our tools and remember that we're in control.

Megan Tiu

July 13, 2016
Tweet

More Decks by Megan Tiu

Other Decks in Technology

Transcript

  1. When should I upgrade? • The larger your app, the

    later you should wait ◦ Bug fix patches will follow shortly ◦ Not all dependencies will be ready for Rails 5 • Smaller apps with few dependencies will likely be ready
  2. 1. Start with a clean test suite • No deprecation

    warnings • All tests passing • As many gems up-to-date as possible
  3. Takeaways and tips: • Break dependency upgrades into chunks •

    Read your gems’ changelogs • Look up your deprecation warnings • Error messages are your friend • You are in control