AyuntamientoMadrid/participacion

View on GitHub
app/models/abilities/common.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method initialize has 92 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def initialize(user)
      merge Abilities::Everyone.new(user)

      can [:read, :update], User, id: user.id

Severity: Major
Found in app/models/abilities/common.rb - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status