Showing 2 of 2 total issues
Method initialize
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(granted, action, subject, user = nil, conditions = {}, actions = [], block = nil)
Method add_permission
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_permission(granted, action, subject, conditions, block)