SpeciesFileGroup/taxonworks

View on GitHub
lib/queries/taxon_name/autocomplete.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

      # TODO: this should deprecate for gin based approaches.

TODO found
Open

      # TODO: this should move to 'mode'

TODO found
Open

        # TODO: move to mode

TODO found
Open

      # TODO: Refactor to OTU approach?

TODO found
Open

      #  TODO: what is intent?

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

        ::TaxonName.where(project_id:).select(ApplicationRecord.sanitize_sql(['taxon_names.*, similarity(?, taxon_names.cached) AS sml', query_string]))

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

          a = q.where(project_id:) if project_id.present?

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