hello-gem/hello

View on GitHub

Showing 310 of 310 total issues

Missing magic comment # frozen_string_literal: true.
Open

module Hello

Use a guard clause instead of wrapping the code inside a conditional expression.
Open

if access.user.password_is?(password)

Use %i or %I for an array of symbols.
Open

resources :accesses, only: [:index, :destroy]
Severity: Minor
Found in config/routes.rb by rubocop

Missing magic comment # frozen_string_literal: true.
Open

Hello::Engine.routes.draw do
Severity: Minor
Found in config/routes.rb by rubocop

Extra empty line detected at block body end.
Open

 
end
Severity: Minor
Found in config/routes.rb by rubocop

Use %i or %I for an array of symbols.
Open

resources :sessions, only: [:index, :new, :show, :destroy]
Severity: Minor
Found in config/routes.rb by rubocop

Use %i or %I for an array of symbols.
Open

resources :emails, only: [:index, :create, :destroy] do
Severity: Minor
Found in config/routes.rb by rubocop

Use %i or %I for an array of symbols.
Open

resources :passwords, only: [:index, :show, :update] do
Severity: Minor
Found in config/routes.rb by rubocop

Use %i or %I for an array of symbols.
Open

match 'sign_up/disabled' => 'sign_up#disabled', via: [:get, :post]
Severity: Minor
Found in config/routes.rb by rubocop

Use %i or %I for an array of symbols.
Open

resource :profile, only: [:show, :update, :destroy] do
Severity: Minor
Found in config/routes.rb by rubocop
Severity
Category
Status
Source
Language