Showing 2 of 4 total issues
Orphan has 23 methods (exceeds 20 allowed). Consider refactoring. Open
class Orphan < ActiveRecord::Base include Initializer include DateHelpers include OrphanAttrFilter
validate has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
def validate get_partner unless @partner.active? flash[:alert] = 'Partner is not Active. Orphan List cannot be uploaded.'