codeforamerica/clientcomm-rails

View on GitHub
app/models/reporting_relationship.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method merge_with has 27 lines of code (exceeds 25 allowed). Consider refactoring.
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

Severity: Minor
Found in app/models/reporting_relationship.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status