app/controllers/clients_controller.rb
Class ClientsController
has 35 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class ClientsController < ApplicationController
before_filter :require_user
authorize_resource
helper_method :sort_column, :sort_direction
Method client_params
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def client_params
client_params = params[:client]
if client_params
client_params.permit(:current_alias,