Upgrade Rails version of E-Commerce clients main application
The Rails version of the E-commerce clients application was 5 which is no longer supported with security patches which can pose a security risk for the client. I was tasked with upgrading the version from 5 to 6. I began by updating the Rails version in the Gemfile to the target version. Installed the new Rails version and updated the gems which need a higher version to work with the Rails version. I then checked for deprecations and warnings in the logs and fixed them. I updated the Rails configurations and code to work with the new version. To verify nothing had broken I ran the test suite and ensured all tests pass. To make sure the application was still functioning I ran the application on my development environment, it was working fine after going through all the pages and manually testing the application. I deployed it to a staging environment for further testing, it worked fine. It was then time to deploy the upgraded application to the production server during early morning time when the application was not being used, which went smoothly. I spent the next day monitoring the application looking at the logs and Sentry errors in the production environment for any issues and there was a minor issue which was not caught in testing which was new syntax not being used for one of the method arguments, which I fixed and deployed. The application is now in a position to be upgraded to the next version of Rails
Skills
Ruby
Back-End Development