Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Rails 8 is here, and in her talk at #RailsWorld, Jenny Shen explores how to get your Rails app upgraded to the latest version in no time! Have too many applications to upgrade? She will also share how Shopify was able to automate the Rails upgrade process for hundreds of their applications. #Rails #Rails8 #rubyonrails #upgrade Thank you Shopify for sponsoring the editing and post-production of these videos. Check out insights from the Engineering team at: https://shopify.engineering/ Stay tuned: all 2024 Rails World videos will be subtitled in Japanese and Brazilian Portuguese soon thanks to our sponsor Happy Scribe, a transcription service built on Rails. https://www.happyscribe.com/
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
In her talk at Rails World 2024, Jenny Shen addresses the crucial process of upgrading Ruby on Rails applications to version 8. She begins by drawing a parallel between poorly maintained public transport and Rails app upgrades to emphasize the importance of staying current with framework updates. Key Points Discussed: - **Introduction**: Jenny emphasizes her experience with the issues of outdated public transit, likening this to the risks of neglecting Rails upgrades. - **Prerequisites for Upgrading**: Stressing the importance of having tests in place before initiating an upgrade to catch potential issues with production. - **Step-by-Step Upgrade Process**: Jenny outlines the comprehensive steps for upgrading Rails apps, including moving to the latest patch version in increments, running update tasks, and reviewing deprecated features. - **Commands to Use**: The commands such as `bundle update` and `bin rails app:update` are highlighted as essential for this process. - **Benefits of Upgrading**: Upgrading Rails not only improves app performance and security but also enhances developer experience while preventing costly rewrites in the future. - **Real-world Example from Shopify**: Jenny shares how Shopify handles mass upgrades across their multitude of applications, including maintaining a unified upgrade calendar and creating an internal gem called 'rails-upgrade' to streamline the upgrade process for developers. - **Common Issues in Upgrades**: She mentions typical challenges developers may face, such as deprecations in Rails 7.2 that will impact apps during upgrade, addressing legacy issues with commands and queue adapter configurations, and the overall need for developers to adapt to new practices and frameworks efficiently. Conclusions and Takeaways: - **Strategic Importance**: Regular upgrades prevent a fragile infrastructure that can lead to significant user dissatisfaction, similar to the analogy of a city relying on outdated public transportation. - **Proactive Maintenance Strategy**: Just as efficient rail systems manage ongoing upgrades, so too should development practices in maintaining Rails apps. - **Community Support**: By leveraging internal tools and calendars for upgrades, development teams can improve the Rails upgrading process significantly, creating a smoother transition and better app reliability.
Suggest modifications
Cancel