Fix Rubocop offenses.
Fix Rubocop Rails offenses.