RuboCop
A RuboCop is used in Rails best practices and coding conventions. It will make your code in good standard format. it will suggest you the best option to refactor your code in your rails application.Installation
gem install rubocop-rails
Usage
You can run rubocop in your terminal. You can see the changes in yours console.
$ rubocop