Gemfile
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem factory_bot_rails
should appear before selenium-webdriver
. Open
Open
gem 'factory_bot_rails'
- Read upRead up
- Exclude checks
Gems should be alphabetically sorted within groups.
Example:
# bad
gem 'rubocop'
gem 'rspec'
# good
gem 'rspec'
gem 'rubocop'
# good
gem 'rubocop'
gem 'rspec'
# good only if TreatCommentsAsGroupSeparators is true
# For code quality
gem 'rubocop'
# For tests
gem 'rspec'
Line is too long. [83/80] Open
Open
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
- Exclude checks
Line is too long. [93/80] Open
Open
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- Exclude checks