app/models/reporting_relationship.rb
Method merge_with
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def merge_with(rr_from, copy_name = false)
ActiveRecord::Base.transaction do
to_full_name = client.full_name
from_full_name = rr_from.client.full_name