-
Notifications
You must be signed in to change notification settings - Fork 19
Updating Rails
Matt Wagner edited this page May 6, 2021
·
1 revision
Note: This page is focused on minor version updates. Changing the Rails major version (e.g., from Rails 5 to Rails 6) will be more involved.
From time to time, it is necessary to update the version of Rails we are using. This page will focus on two parts: performing the actual update, and then the testing we perform before deploying the changes.
After creating a new feature branch:
- Update Gemfile to specify the new desired version.
- Run
bundle update rails
, which will go through the dependency tree and update dependent gems as needed.- The Active* and Action* gems will all match the new Rails version.
- It is possible some other dependencies may be updated in the process. Take a moment to run through and make sure they are safe, reasonable version bumps.
- Commit the changes to both Gemfile and Gemfile.lock and open a new pull request.
First, let the usual automated tests run to make sure nothing wild has happened.
Assuming all looks well there, deploy the branch on which the PR is based to UAT. We perform the following smoke test:
- Switch to an Intake user and start an intake
- Switch to a Queue user (VLJ) and load their queue
- Switch to a Hearings coordinator and test the hearing functionality
(This section needs to be updated with more detailed information.)
- Home
- Acronyms and Glossary
- Caseflow products
- Caseflow Intake
- Caseflow Queue
- Appeals Consumer
- Caseflow Reader
- Caseflow eFolder
- Caseflow Hearings
- Caseflow Certification
- Caseflow APIs
- Appeal Status API
- Caseflow Dispatch
-
CSUM Roles
- System Admin
- VHA Team Management
- Active Record Queries Resource
- External Integrations
- Caseflow Demo
- Caseflow ProdTest
- Background
- Stuck Jobs
- VA Notify
- Caseflow-Team
- Frontend Best Practices
- Accessibility
- How-To
- Debugging Tips
- Adding a Feature Flag with FeatureToggle
- Editing AMA issues
- Editing a decision review
- Fixing task trees
- Investigating and diagnosing issues
- Data and Metric Request Workflow
- Exporting and Importing Appeals
- Explain page for Appeals
- Record associations and Foreign Keys
- Upgrading Ruby
- Stuck Appeals
- Testing Action Mailer Messages Locally
- Re-running Seed Files
- Rake Generator for Legacy Appeals
- Manually running Scheduled Jobs
- System Admin UI
- Caseflow Makefile
- Upgrading Postgresql from v11.7 to v14.8 Locally
- VACOLS VM Trigger Fix M1
- Using SlackService to Send a Job Alert
- Technical Talks