Code Quality Matters in Rails

Alarmingly, 23% of participants in our 2018 Ruby on Rails survey reported not using any of the tools to check code quality. Thankfully, 67% use Rubocop. Rubocop is a real gem (pun intended). It’s more than a style guide check. It also ensures all developers working on a project use the same set of guidelines for metrics like assignment branch condition (ABC) size to prohibit methods from getting too complex. Running Rubocop on a feature branch before submitting a PR is a great asset for new team members who are becoming acclimated to your team’s conventions.

Link: https://dzone.com/articles/code-quality-matters-in-rails?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev