SpeciesFileGroup/taxonworks

View on GitHub
app/models/internal_attribute.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

          # TODO: check necessity of this
Severity: Minor
Found in app/models/internal_attribute.rb by fixme

TODO found
Open

  # TODO: wrap in generic (reindex_dwc_occurrences method for use in InternalAttribute and elsewhere)
Severity: Minor
Found in app/models/internal_attribute.rb by fixme

TODO found
Open

  # TODO: perhaps a Job
Severity: Minor
Found in app/models/internal_attribute.rb by fixme

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

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

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

        rescue ActiveRecord::RecordInvalid => e
Severity: Minor
Found in app/models/internal_attribute.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

      controlled_vocabulary_term_id:,
Severity: Minor
Found in app/models/internal_attribute.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