nukomeet/coworfing

View on GitHub
app/models/ability.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def initialize(user)
    # guest user (not logged in)
    user = user
    unless user
      user = User.new
Severity: Minor
Found in app/models/ability.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status