Home / Companies / GitLab / Blog / Post Details
Content Deep Dive

The road to Rails 5

Blog post from GitLab

Post Details
Company
Date Published
Author
Jan Provaznik
Word Count
1,241
Company Posts That Month
21
Language
English
Hacker News Points
-
Post removed?
No
Summary

Upgrading GitLab to Rails 5 was a complex process due to the project's large codebase, necessitating a strategic approach that involved running the application on both Rails 4 and 5 using environment variables. This allowed the team to address specific issues incrementally, reducing CI failures with each fix and facilitating collaboration. By enabling compatibility with both versions, the team could maintain backward compatibility while testing new features, ultimately ensuring the transition was smooth and without production issues. The process also involved addressing Active Record changes and refactoring various monkey patches, with CI pipelines running on both Rails 4 and 5 to catch new incompatibilities. Although the upgrade took longer than expected, it was deemed successful, and the experience gained is expected to inform future upgrades, including the planned transition to Rails 6.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.