Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Ever felt overwhelmed when figuring out how to upgrade a Rails app? Unsure where you should begin? We’ll talk about how upgrading should be treated as a feature, and how you can get buy-in from management for upgrading Rails. Have you heard about how GitHub or Shopify uses dual-booting to run two versions of Rails at once and wondered how that works? We’ll talk about three approaches you can use to upgrade your app. You’ll leave this talk with takeaways you can put into practice for your next Rails upgrade.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
The video titled "Upgrading Rails: Everyone can do it and here’s how" by Andrea Fomera at RailsConf 2022, addresses the common challenges faced when upgrading a Rails application. Andrea emphasizes that upgrading should be treated as a feature rather than a burden. The key points discussed throughout the talk include: - **Understanding the Overwhelm**: Andrea shares her personal experiences and feelings of dread associated with the release of new Rails versions and the risks of using outdated versions. - **The Need for Upgrading**: Staying up to date is crucial for performance improvements, security updates, and access to recent features, as older versions lack extensive documentation and might not attract developers. - **Key Considerations for Upgrades**: - Buy-in from management and team members is essential as management might not see the upgrade as a priority. - A robust test suite is vital to minimize risks during the upgrade process. - Compatibility of Ruby and dependencies must be assessed; out-of-date gems can halt upgrade progress. - **Common Approaches to Upgrading**: - *Hiring Outside Help*: Companies can pay professionals to perform the upgrade if internal resources are limited. - *Long-running Branch Strategy*: Upgrading in a separate branch can become complicated and lengthy, risking merge conflicts. - *Dual Booting*: This preferred approach allows running two versions of Rails simultaneously, minimizing disruption and risk during the upgrade process. Andrea provides detailed steps for implementing dual booting in applications and shows how to manage different dependencies effectively. - **Practical Tips and Tools**: Suggestions like using tools such as Dependabot and creating roll-out plans for testing upgrades enhance the upgrade experience. Andrea stresses the importance of addressing deprecation messages, updating the Gemfile, and creating a safe rollback strategy. The talk concludes by encouraging attendees that, while the process is daunting initially, it becomes easier with each subsequent upgrade as developers become more familiar with the necessary steps and techniques.
Suggest modifications
Cancel