ServiceInnovationLab/pancake-backend

View on GitHub
app/models/rebate_form.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Showing 2 of 2 total issues

Class has too many lines. [108/100]
Open

class RebateForm < ApplicationRecord
include Discard::Model
audited only: [:discarded_at], on: :update
 
has_many :signatures, dependent: :destroy
Severity: Minor
Found in app/models/rebate_form.rb by rubocop

Class RebateForm has 26 methods (exceeds 20 allowed). Consider refactoring.
Open

class RebateForm < ApplicationRecord
include Discard::Model
audited only: [:discarded_at], on: :update
 
has_many :signatures, dependent: :destroy
Severity: Minor
Found in app/models/rebate_form.rb - About 3 hrs to fix
    Category
    Status