Showing 3,213 of 3,213 total issues
Tab detected. Open
end
- Exclude checks
Tab detected. Open
render action: "../users/edit_password"
- Exclude checks
Tab detected. Open
@shifts = Shift.all
- Exclude checks
Don't use parentheses around the condition of an if
. Open
if ( @employee.update(employee_params) )
- Read upRead up
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
redirect_to "/errors/error_500"
- Read upRead up
- Exclude checks
Align the parameters of a method call if they span more than one line. Open
:employee_cpf,
- Read upRead up
- Exclude checks
Favor modifier if
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
if ( is_principal? )
- Read upRead up
- Exclude checks
Tab detected. Open
def show
- Exclude checks