SpeciesFileGroup/taxonworks

View on GitHub
app/models/concerns/shared/tags.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

    # TODO: This should be a Tag validation!? (this is nested keywords)
Severity: Minor
Found in app/models/concerns/shared/tags.rb by fixme

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

    tags << Tag.new(keyword_id:)
Severity: Minor
Found in app/models/concerns/shared/tags.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

    tags.where(keyword_id:).any?
Severity: Minor
Found in app/models/concerns/shared/tags.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 $end (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

Severity: Minor
Found in app/models/concerns/shared/tags.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

      joins(:tags).where(tags: {keyword:})
Severity: Minor
Found in app/models/concerns/shared/tags.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