scottwillson/racing_on_rails

View on GitHub
app/models/results/competitions.rb

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

      if frozen?
        self[:team_competition_result] ||
          event.is_a?(::Competitions::TeamBar) ||
          event.is_a?(::Competitions::CrossCrusadeTeamCompetition) ||
          event.is_a?(::Competitions::MbraTeamBar)
Severity: Major
Found in app/models/results/competitions.rb - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status