brianwisti/marysplace-rails

View on GitHub
app/controllers/clients_controller.rb

Summary

Maintainability
B
5 hrs
Test Coverage

Class ClientsController has 35 methods (exceeds 20 allowed). Consider refactoring.
Open

class ClientsController < ApplicationController
  before_filter :require_user
  authorize_resource
  helper_method :sort_column, :sort_direction

Severity: Minor
Found in app/controllers/clients_controller.rb - About 4 hrs to fix

    Method client_params has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def client_params
        client_params = params[:client]
    
        if client_params
          client_params.permit(:current_alias,
    Severity: Minor
    Found in app/controllers/clients_controller.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status