SpeciesFileGroup/taxonworks

View on GitHub
app/models/asserted_distribution.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

      request.cap_reason = 'May not update multiple geographic areas to one.' # TODO: revist constraint
Severity: Minor
Found in app/models/asserted_distribution.rb by fixme

TODO found
Open

  # TODO: deprecate scopes referencing single wheres
Severity: Minor
Found in app/models/asserted_distribution.rb by fixme

TODO found
Open

  # TODO: DRY with helper methods
Severity: Minor
Found in app/models/asserted_distribution.rb by fixme

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

end
Severity: Minor
Found in app/models/asserted_distribution.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 tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

  scope :with_otu_id, -> (otu_id) { where(otu_id:) }
Severity: Minor
Found in app/models/asserted_distribution.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 tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

          .where(otu_id:)
Severity: Minor
Found in app/models/asserted_distribution.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 tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

          .where(otu_id:)
Severity: Minor
Found in app/models/asserted_distribution.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