case study
Upgrading a high-traffic immigration platform to Rails 7.1
Slashing security vulnerabilities by 90% and boosting performance without disrupting active development.
An immigration platform serving 70,000+ families was running on an end-of-life Rails 6 version, risking security breaches and blocking future development.
About
- Client: Boundless
- Industry: Immigration Services
- Location: United States
- Year: 2024
Scope of work
- Incremental Rails 6 to 7.1 Upgrade
- Dependency & Gem Modernization
- Performance Optimization & Security Hardening
Future-proofing a sensitive, high-traffic platform without disrupting active development cycles.
The client's application, serving over 70,000 families, was operating on Rails 6, which had reached the end of its security support.
Outdated dependencies and compatibility gaps threatened system stability and compliance. Our brief:
- Execute a seamless, incremental upgrade from Rails 6 to Rails 7.1
- Resolve obsolete dependencies and Zeitwerk autoloader misconfigurations
- Maintain uninterrupted service and active development cycles throughout the transition
Common questions
A direct jump risked breaking changes and prolonged downtime. We adopted an incremental strategy (Rails 6 → 7 → 7.1) to address deprecations systematically and ensure stability at each step.
When the automated Stripe gem update disrupted payment flows, we thoroughly debugged the incompatibility and reverted to a stable, compatible version to restore seamless functionality without compromising the broader upgrade.
No. Over a 2.5-month period, we carefully balanced the upgrade roadmap with ongoing feature development, ensuring zero disruption to daily business operations or the end-user experience.
For an immigration platform handling highly sensitive user data, security and compliance are non-negotiable. With 92 known vulnerabilities and an end-of-life framework, the platform was at severe risk. We executed a meticulous, phased modernization that eliminated security threats, optimized performance, and future-proofed the tech stack, all while keeping the platform fully operational for tens of thousands of families.
A structured, incremental modernization strategy that balances security with continuous delivery.
STEP
01
Discovery & Incremental Roadmap
Analyzed the codebase to identify deprecated dependencies and compatibility risks, creating a phased, low-risk roadmap from Rails 6 to 7, and finally to 7.1.
02
Dependency Resolution & Restructuring
Updated critical gems, resolved RSpec syntax issues, and corrected Zeitwerk autoloader misconfigurations by restructuring the directory hierarchy for optimal loading.
03
Performance Tuning & Validation
Optimized database connection pooling, enhanced Active Job background processing, and rigorously tested payment flows to ensure a stable, high-performance release.
A secure, high-performing, and future-proof platform built for scale.
90%
fewer security vulnerabilities
Slashed from 92 critical vulnerabilities down to 5–10, ensuring robust data protection and industry compliance.
207 ms
response time
Dramatically improved from 957ms, alongside reduced memory usage (809MB to 692MB) for a seamless user experience.
2.5 months
delivery time
Completed the complex, incremental upgrade with zero disruption to active development cycles or live operations.
The bottom line
The immigration platform proved that critical infrastructure upgrades don't have to mean business disruption. By partnering with Railsfactory for a phased, expert-led modernization, they eliminated severe security risks, boosted application performance, and established a future-proof foundation to support their growing user base.
Featured projects
View allCPG
A mobile-first rebuild with real-time pricing, multi-state compliance, and automation-ready foundations.
Energy10 days mobile MVP shipped
40% mobile traffic served
0 manual pricing uploads
King's College Hospital
Replaced King's College Hospital's legacy EHR registration workflow with a lightweight, modular web platform, improving patient registration, reducing costs, and enabling future-ready compliance.
HealthcareFHIR R4 React frontend on FHIR R4 APIs
2 clicks real-time validation and two-click scheduling
Any device runs on desktop, tablet, mobile, and browser
Clinical Minds
A scalable Selenium + Cucumber framework, integrated into CI/CD.
Healthcare1,000+ test cases created
80% E2E UI automation
75% test cases automated
