roseweixel/lacquer-lover

View on GitHub
app/models/user.rb

Summary

Maintainability
B
4 hrs
Test Coverage

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

class User < ActiveRecord::Base
  has_many :user_lacquers, -> { order(:updated_at => :desc) }, dependent: :destroy
  has_many :lacquers, through: :user_lacquers
  has_many :brands, -> { uniq }, through: :lacquers
  
Severity: Minor
Found in app/models/user.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status