The solution is the same as in many other programming languages: adopt a coding standard and enforce it in an automated fashion, i.e. in the CI/CD pipeline. Code style then becomes mostly a non-issue and not an object of discussion.
In the case of Ruby:
* most popular style guide: https://rubystyle.guide/
* automated tool for linting and enforcing code style: https://rubocop.org/