Search⌘ K
AI Features

A Versioning Policy

Explore how to create and maintain a versioning policy for Ruby on Rails applications to ensure sustainability and consistency. Understand why documenting conventions and controlling dependency updates are crucial for managing app complexity. Learn recommended practices for updating Ruby, Rails, and NodeJS versions and using version constraints to avoid unexpected changes. Discover how comments and automation can support your team's upgrade workflows.

Importance of documented conventions

A policy might sound draconian, but it helps to have agreed-upon conventions written down when they can’t be baked into code. It also helps to put, in writing, exactly why the team does certain things.

Features of versioning

This is what we recommend:

  • Use only the latest two minor versions of Ruby. Each December, when Ruby is updated, schedule time
...