SpeciesFileGroup/taxonworks

View on GitHub
app/models/observation_matrix_row.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

  # TODO: A little bit suspect here, likely belongs in
Severity: Minor
Found in app/models/observation_matrix_row.rb by fixme

TODO found
Open

  # TODO: belongs in helpers
Severity: Minor
Found in app/models/observation_matrix_row.rb by fixme

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

      .where(observation_matrix_columns: {observation_matrix_id:})

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

        observation_matrix_id:,

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

        observation_object:).where.not(id:).any?

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

    ObservationMatrixColumn.where(observation_matrix_id:)

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

      ObservationMatrixRow.where(id:).update_all(position: index + 1)

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