andela/workdey

View on GitHub
app/models/user.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class User has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

class User < ActiveRecord::Base
  has_many :artisan_skillsets, foreign_key: :artisan_id
  has_many :skillsets, through: :artisan_skillsets
  has_many :reviews
  has_many :reviewers, class_name: "Review", foreign_key: :reviewer_id
Severity: Minor
Found in app/models/user.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status