In this article I’ll discuss a strategy for different readability: a simple way to split your routes file on a Ruby on Rails project. Usually, when we work on large Ruby on Rails applications, those come with a huge routes file in the config/routes.rb. This can lead to a bad developer experience or a “your file has too many lines” linter warning. Before jumping into code examples, it’s important to note that the processing order in routes.rb is top to bottom. Rails 6.1 brought back the feature ...