SpeciesFileGroup/taxonworks

View on GitHub
app/models/combination.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

  # TODO: make access private
Severity: Minor
Found in app/models/combination.rb by fixme

TODO found
Open

  # TODO: DEPRECATE this is likely not required in our new interfaces
Severity: Minor
Found in app/models/combination.rb by fixme

TODO found
Open

  # TODO: hard code sort order
Severity: Minor
Found in app/models/combination.rb by fixme

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    duplicate = Combination.not_self(self).where(cached:, cached_author_year:, project_id: self.project_id)
Severity: Minor
Found in app/models/combination.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOMMA (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    duplicate = Combination.not_self(self).where(cached:, cached_author_year:, project_id: self.project_id)
Severity: Minor
Found in app/models/combination.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

There are no issues that match your filters.

Category
Status